Possibility pass bdd file to load at startup

This commit is contained in:
2010-08-22 16:35:12 +02:00
parent 9f7d858bc3
commit fb1007bfcb
10 changed files with 80 additions and 51 deletions

View File

@@ -19,7 +19,7 @@ along with KissCount. If not, see <http://www.gnu.org/licenses/>.
#include "KissCount.h"
KissCount::KissCount() : _user(NULL)
KissCount::KissCount(const char* bdd_filename) : _user(NULL)
{
_wxUI = new wxUI(this, wxT("KissCount"), wxPoint(50, 50), wxSize(1024, 768));
@@ -31,7 +31,7 @@ KissCount::KissCount() : _user(NULL)
try
{
_db = new Database();
_db = new Database(bdd_filename);
}
catch (std::string s)
{

View File

@@ -33,7 +33,7 @@ class wxUI;
class KissCount
{
public:
KissCount();
KissCount(const char* bdd_filename);
~KissCount();
std::list<wxString> GetUsers();