summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-20 20:49:19 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-20 20:49:19 +0000
commit10e432d5d02add6714ed41e11990e55abd131067 (patch)
tree32ab01aaf4b2c3f6cda166e641e243534f1f6b43
parentb38f7655f8eead4d06d2d78acba62a57c9c59c7e (diff)
db_autobackups:
- moved service declarations into a separate file git-svn-id: http://svn.miranda-ng.org/main/trunk@15000 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Db_autobackups/src/stdafx.h5
-rw-r--r--plugins/ExternalAPI/m_autobackups.h22
2 files changed, 23 insertions, 4 deletions
diff --git a/plugins/Db_autobackups/src/stdafx.h b/plugins/Db_autobackups/src/stdafx.h
index a3bc9d04a9..32fae90870 100644
--- a/plugins/Db_autobackups/src/stdafx.h
+++ b/plugins/Db_autobackups/src/stdafx.h
@@ -15,6 +15,7 @@
#include <m_popup.h>
#include <m_icolib.h>
#include <win2k.h>
+#include <m_autobackups.h>
#include <m_folders.h>
@@ -22,10 +23,6 @@
#include "resource.h"
#include "version.h"
-
-#define MS_AB_BACKUP "AB/Backup"
-#define MS_AB_SAVEAS "AB/SaveAs"
-
#define SUB_DIR L"\\AutoBackups"
#define DIR L"%miranda_userdata%"
diff --git a/plugins/ExternalAPI/m_autobackups.h b/plugins/ExternalAPI/m_autobackups.h
new file mode 100644
index 0000000000..95b0813647
--- /dev/null
+++ b/plugins/ExternalAPI/m_autobackups.h
@@ -0,0 +1,22 @@
+/*
+This is free software; you can redistribute it and/or
+modify it under the terms of the GNU Library General Public
+License as published by the Free Software Foundation; either
+version 2 of the License, or (at your option) any later version.
+
+This is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Library General Public License for more details.
+
+You should have received a copy of the GNU Library General Public
+License along with this file; see the file license.txt. If
+not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.
+*/
+
+// Backup database menu item
+#define MS_AB_BACKUP "AB/Backup"
+
+// Save as..
+#define MS_AB_SAVEAS "AB/SaveAs"