summaryrefslogtreecommitdiff
path: root/include/m_protoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_protoint.h')
-rw-r--r--include/m_protoint.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index 83a4d8d523..eddad66824 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -266,9 +266,6 @@ public:
// called when the Account Manager needs to draw short account's options
virtual MWindow OnCreateAccMgrUI(MWindow hwndParent);
- // called when an offline file is being created
- virtual void OnCreateOfflineFile(DB::FILE_BLOB &blob, void *ft);
-
// called when an event is altered in database
virtual void OnEventDeleted(MCONTACT, MEVENT);
@@ -284,6 +281,12 @@ public:
// the analog of ME_SYSTEM_MODULESLOADED for an account
virtual void OnModulesLoaded(void);
+ // called when an offline file is being received
+ virtual void OnReceiveOfflineFile(DB::FILE_BLOB &blob, void *ft);
+
+ // prepares an event of the file being sent
+ virtual void OnSendOfflineFile(DB::EventInfo &dbei, DB::FILE_BLOB &blob, void *ft);
+
// same for ME_SYSTEM_SHUTDOWN
virtual void OnShutdown(void);