Ignore:
Timestamp:
04/26/2009 05:03:05 PM (3 years ago)
Author:
guyru
Message:

Portable Edition 1.9 Preparations.

Removed SQLite support. Fixed configuration file path. Add new MSVC
configuration for the portable edition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/configuration.h

    r177 r191  
    2222#define OPENYAHTZEE_CONFIGURATION_INC 
    2323 
    24 #include "DBwrapper.h" // used in the back-compatibility code 
    2524#include <string> 
    2625#include <fstream> 
     
    8079        void setHighscoresSize(size_t size); 
    8180private: 
    82         /** 
    83          * Imports old style configuration from sqllite database. 
    84          */ 
    85         void importOldFile(); 
    86  
    8781        void parseSettings(std::ifstream *file); 
    8882        void parseHighscores(std::ifstream *file); 
     
    10094 
    10195        std::string m_file; 
    102  
    103         /* The following functions and variables are used for legacy SQLite 
    104          * configuration file, and could be dropped. 
    105          */ 
    106         DBwrapper old_db; 
    107         std::string getKeyFromDb(std::string key); 
    108         void importSettings(); 
    109         void importHighscores(); 
    11096}; 
    11197 
Note: See TracChangeset for help on using the changeset viewer.