summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"