yWeb 2.8.a.3 Alpha-Version

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@406 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 32c7517141
Author: yjogol <yjogol2@online.de>
Date: 2010-02-24 (Wed, 24 Feb 2010)
This commit is contained in:
yjogol
2010-02-24 16:16:10 +00:00
parent 158c9980e5
commit 8b45189db5
191 changed files with 8063 additions and 4185 deletions

View File

@@ -0,0 +1,44 @@
//=============================================================================
// YHTTPD
// Language
//=============================================================================
#ifndef __yhttpd_language_h__
#define __yhttpd_language_h__
#include <stdlib.h>
#include <configfile.h>
// yhttpd
#include "yconfig.h"
#include "ytypes_globals.h"
#include "ywebserver.h"
// forward declaration
class CWebserverConnection;
class CLanguage
{
protected:
static CLanguage *instance;
CLanguage(void);
~CLanguage(void);
static CConfigFile *DefaultLanguage;
static CConfigFile *ConfigLanguage;
public:
// Instance Handling
static CLanguage *getInstance(void);
static void deleteInstance(void);
// Language
static std::string language;
static std::string language_dir;
void setLanguage(std::string _language);
std::string getLanguage(void) {return language;};
std::string getLanguageDir(void);
std::string getTranslation(std::string id);
};
#endif /* __yttpd_language_h__ */