22 #ifndef BACKUP_MANAGER_H
23 #define BACKUP_MANAGER_H
30 #include "lunaservice.h"
53 bool init (GMainLoop* mainLoop);
62 static LSMethod s_BackupServerMethods[];
65 GMainLoop* m_mainLoop;
66 LSHandle* m_clientService;
67 LSPalmService* m_serverService;
68 std::string m_strBackupServiceName;
71 bool m_doBackupCookies;
72 std::list<std::string> m_backupFiles;
74 void initFilesForBackup();
76 static bool preBackupCallback( LSHandle* lshandle, LSMessage *message,
void *user_data);
77 static bool postRestoreCallback( LSHandle* lshandle, LSMessage *message,
void *user_data);
81 #endif // BACKUP_MANAGER_H