svvitch
digital signage player
D:/vs_workspace/switch_sf/src/svvitch/Configuration.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include <algorithm>
00004 #include <string>
00005 #include <vector>
00006 #include <Poco/Path.h>
00007 #include <Poco/Channel.h>
00008 #include <Poco/Logger.h>
00009 
00010 using std::string;
00011 using std::wstring;
00012 using std::vector;
00013 using Poco::Path;
00014 
00015 
00020 class Configuration
00021 {
00022 private:
00023     Poco::Logger& _log;
00024 
00025 public:
00026     Poco::Channel* logFile;
00027 
00028     string windowTitle;
00029     string name;
00030     string description;
00031     RECT mainRect;
00032     int mainRate;
00033     RECT subRect;
00034     int subRate;
00035     DWORD frameIntervals;
00036     bool frame;
00037     bool fullsceen;
00038 
00039     bool useClip;
00040     RECT clipRect;
00041     RECT stageRect;
00042     int splitType;
00043     float captureQuality;
00044     string captureFilter;
00045     SIZE splitSize;
00046     int splitCycles;
00047 
00048     vector<string> movieEngines;
00049     vector<string> scenes;
00050 
00051     int brightness;
00052     float dimmer;
00053     bool viewStatus;
00054     int imageSplitWidth;
00055     string textFont;
00056     string textStyle;
00057     int textHeight;
00058 
00059     bool mouse;
00060     bool draggable;
00061     wstring defaultFont;
00062     string asciiFont;
00063     string multiByteFont;
00064     // string vpCommandFile;
00065     // string monitorFile;
00066     Path dataRoot;
00067     Path stockRoot;
00068     Path workspaceFile;
00069     string newsURL;
00070 
00071     int serverPort;
00072     int maxQueued;
00073     int maxThreads;
00074 
00075     bool outCastLog;
00076 
00077 
00078     Configuration();
00079 
00080     virtual ‾Configuration();
00081 
00082     bool initialize();
00083 
00084     void save();
00085 
00086     bool hasScene(string s);
00087 
00088     void release();
00089 };
00090 
00091 typedef Configuration* ConfigurationPtr;
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines