From 7572cd33f27b512691b6acf39cd0d78d35017a46 Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 18 八月 2017 13:34:18 +0800
Subject: [PATCH] capnp fix bug

---
 VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h
index 0f9958c..3ce1489 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h
@@ -5,27 +5,31 @@
 #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();
+	AppConfig();
+	~AppConfig();
+	AppConfig(string path);
+
 	string getStringValue(string key);
-	int    getIntValue(string key);
-	void   setStringValue(string key, string value);
-	void   setIntValue(string key, int value);
-    void   loadConfig(string path);
-	void   save(string path);
-	void   clear();
+	int getIntValue(string key);
+	void setStringValue(string key, string value);
+	void setIntValue(string key, int value);
+	void loadConfig(string path);
+	void save(string path);
+	void clear();
+
 private:
 	Json::Value root;
 };
-
 
 #endif //RTSPNATIVECODEC_APPCONFIG_H

--
Gitblit v1.8.0