houxiao
2017-08-10 dea825c24eea9fa92dd9f0ccf2e24af4ed89683c
VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h
@@ -5,17 +5,20 @@
#ifndef RTSPNATIVECODEC_APPCONFIG_H
#define RTSPNATIVECODEC_APPCONFIG_H
#include <json.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
class AppConfig {
class AppConfig
{
public:
    AppConfig();
    ~AppConfig();
   string getStringValue(string key);
   int    getIntValue(string key);
   void   setStringValue(string key, string value);
@@ -23,9 +26,9 @@
    void   loadConfig(string path);
   void   save(string path);
   void   clear();
private:
   Json::Value root;
};
#endif //RTSPNATIVECODEC_APPCONFIG_H