summaryrefslogtreecommitdiff
path: root/plugins/database/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/database/utils.h')
-rw-r--r--plugins/database/utils.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/database/utils.h b/plugins/database/utils.h
new file mode 100644
index 00000000..c1c395d4
--- /dev/null
+++ b/plugins/database/utils.h
@@ -0,0 +1,35 @@
+/*
+ * timedate - Displays time and date and daily events
+ * Copyright (c) <2009>, Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU Lesser General Public License,
+ * version 2.1, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+#ifndef _DAOUTILS_H_
+#define _DAOUTILS_H_
+
+#include <string>
+
+class DaoUtils
+{
+public:
+ DaoUtils(){}
+ virtual ~DaoUtils(){}
+
+ static std::string findReplace(std::string name, std::string tofind, std::string replacewith, std::string exclusions="");
+};
+
+
+#endif