00001 /* ============================================================ 00002 * This program is free software; you can redistribute it 00003 * and/or modify it under the terms of the GNU General 00004 * Public License as published bythe Free Software Foundation; 00005 * either version 2, or (at your option) 00006 * any later version. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details. 00012 * 00013 * ============================================================ */ 00014 00015 #ifndef ZMDEFINES_H 00016 #define ZMDEFINES_H 00017 00018 // qt 00019 #include <qstring.h> 00020 #include <qrect.h> 00021 00022 const QString FUNCTION_MONITOR = "Monitor"; 00023 const QString FUNCTION_MODECT = "Modect"; 00024 const QString FUNCTION_NODECT = "Nodect"; 00025 const QString FUNCTION_RECORD = "Record"; 00026 const QString FUNCTION_MOCORD = "Mocord"; 00027 const QString FUNCTION_NONE = "None"; 00028 00029 // event details 00030 typedef struct 00031 { 00032 int monitorID; 00033 int eventID; 00034 QString eventName; 00035 QString monitorName; 00036 QString startTime; 00037 QString length; 00038 } Event; 00039 00040 // event frame details 00041 typedef struct 00042 { 00043 QString type; 00044 double delta; 00045 } Frame; 00046 00047 enum MonitorPalette 00048 { 00049 MP_GREY = 1, 00050 MP_RGB24 = 4 00051 }; 00052 00053 typedef struct 00054 { 00055 // used by console view 00056 int id; 00057 QString name; 00058 QString type; 00059 QString function; 00060 int enabled; 00061 QString device; 00062 QString zmcStatus; 00063 QString zmaStatus; 00064 int events; 00065 // used by live view 00066 QString status; 00067 int width; 00068 int height; 00069 int palette; 00070 } Monitor; 00071 00072 #endif
1.5.5