Changeset 157


Ignore:
Timestamp:
24/09/08 20:58:53 (6 years ago)
Author:
guyru
Message:

configuration - initial work, parsing settings and highscore

Location:
trunk/src
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MainFrame.cpp

    r156 r157  
    3636#include "About.h" 
    3737#include "UtilityFunctions.h" 
     38#include "configuration.h" 
    3839#include <iostream> 
    3940#include <sstream> 
     
    7879                wxRenameFile(home_path+wxT("/.OpenYahtzee"),home_path+wxT("/.openyahtzee"),false); 
    7980        } 
     81        Configuration config("/home/guy/.openyahtzee.new"); 
    8082        m_settingsdb = new SettingsDB(); //Get the settings database connection 
    8183        m_highscoredb = new HighScoreTableDB(); 
  • trunk/src/Makefile.am

    r153 r157  
    22openyahtzee_SOURCES = \ 
    33        About.cpp \ 
     4        configuration.cpp \ 
     5        configuration.h \ 
    46        DBwrapper.cpp \ 
    57        dice_graphics.cpp \ 
     
    4244        dice/theme3/6.xpm 
    4345 
    44 noinst_HEADERS = MainFrame.h ObjectsID.h SettingsDB.h HighScoreTableDB.h \ 
    45         HighScoreDialog.h SettingsDialog.h Icon.h icon32.ico wxDynamicBitmap.h \ 
    46         About.h UtilityFunctions.h ScoreDice.h dice_graphics.h DBwrapper.h \ 
    47         dice_theme_dialog.h $(dice_graphics) 
     46noinst_HEADERS = \ 
     47        About.h \ 
     48        DBwrapper.h \ 
     49        dice_graphics.h \ 
     50        dice_theme_dialog.h \ 
     51        HighScoreTableDB.h \ 
     52        HighScoreDialog.h \ 
     53        Icon.h \ 
     54        icon32.ico \ 
     55        MainFrame.h \ 
     56        ObjectsID.h \ 
     57        SettingsDB.h \ 
     58        SettingsDialog.h \ 
     59        ScoreDice.h \ 
     60        UtilityFunctions.h \ 
     61        wxDynamicBitmap.h \ 
     62        $(dice_graphics) 
    4863 
    4964AM_CXXFLAGS = `wx-config --cxxflags` 
Note: See TracChangeset for help on using the changeset viewer.