Il.Socio, il 30/07/2007 - 08:58, ha scritto:

si, ci ho messo mano un po' di tempo fa quando ho dovuto cercare come fare il riavvio su n70... E' la stessa classe
Qui c'e' l'header:
class SysStartup {
public:
IMPORT_C static int GetStartupReasons(enum TWD2StartupReason &, enum TSWStartupReason &);
IMPORT_C static int HiddenReset(void);
IMPORT_C static int RTCStatus(void);
IMPORT_C static int SetSWStartupReason(enum TSWStartupReason);
IMPORT_C static int SetState(class TUid const &, enum TSWState);
IMPORT_C static int Shutdown(class TUid const &);
IMPORT_C static int ShutdownAndRestart(class TUid const &, enum TSWStartupReason);
IMPORT_C static enum TSWState State(void);
};
eheh ok! cmq al tempo ci avevo pensato anche io alla funzione IMPORT_C static int Shutdown(class TUid const &); solo che nn sapendo che fosse cosi, avevo messo come per la shutdownandrestart cosi:
IMPORT_C static int Shutdown(class TUid const &, enum TSWStartupReason);
e mi dava errore xD
ma per queste api non documentate da symbian, ci sono siti particolari dove guardare? Ma poi xkè nn sono state documentate da symbian?!?