Bumped copyright dates for 2013
[barry.git] / desktop / src / CUI_KDEPim.h
blob8d96502bbc5e5b36350136f1cba9235341f8f89d
1 ///
2 /// \file CUI_KDEPim.h
3 /// ConfigUI derived class to configure the KDEPim App
4 ///
6 /*
7 Copyright (C) 2009-2013, Net Direct Inc. (http://www.netdirect.ca/)
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRY_CUI_KDEPIM_H__
23 #define __BARRY_CUI_KDEPIM_H__
25 #include "configui.h"
26 #include "osconfig.h"
27 #include <memory>
29 class wxWindow;
31 namespace AppConfig {
33 class KDEPim : public ConfigUI
35 OpenSync::Config::KDEPim *m_kdepim;
36 plugin_ptr m_container; // merely holds m_kdepim
38 // convenience pointers
39 wxWindow *m_parent;
41 public:
42 KDEPim();
44 // virtual overrides (ConfigUI)
45 virtual std::string AppName() const;
46 virtual bool Configure(wxWindow *parent, plugin_ptr old_plugin);
47 virtual plugin_ptr GetPlugin();
48 virtual bool RunApp(wxWindow *parent);
49 virtual void PreSyncAppInit();
50 virtual bool ZapData(wxWindow *parent, plugin_ptr plugin,
51 OpenSync::API *engine);
56 #endif