SourceForge.net Logo
Rss::Blocks 0.2
a codeblocks plugin that shows rss feeds

F:/C++/rssblocks/trunk/rssblocksdef.h

Go to the documentation of this file.
00001 /***************************************************************
00002  * Name:      rssblocksdef.h
00003  * Purpose:   global constants
00004  * Author:    Gabriel Espinoza
00005  * Created:   2011-03-14
00006  * Copyright: Gabriel Espinoza
00007  * License: GPLv3+
00008  **************************************************************/
00009 #ifndef RSSBLOCKSDEF_H
00010 #define RSSBLOCKSDEF_H
00011 
00012 #include <manager.h>
00013 #include <configmanager.h>
00014 
00015 
00021 namespace rssblocks
00022 {
00023         //configuration namespace
00024         const wxString rss_namespace = wxT("rssblocks");
00025         //configuration names
00026         const wxString url = wxT("url");
00027         const wxString channeltp = wxT("channeltp");
00028         const wxString itemtp = wxT("itemtp");
00029         const wxString updatetime = wxT("updatetime");
00030         const wxString savetmp = wxT("savetmp");
00031         const wxString lasttmp = wxT("lasttmp");
00032         //configuration default values;
00033         const wxString url_def = wxT("http://agender.sourceforge.net/rss.xml");
00034         // TODO (gabriel#1#): change to above value for release
00035         //const wxString url_def = wxT("http://127.0.0.1/rss.xml");
00036         const wxString channeltp_def = wxT("default.rbc");
00037         const wxString itemtp_def = wxT("default.rbi");
00038         const unsigned updatetime_def = 10;
00039         const bool savetmp_def = true;
00040 }//namespace rssblocks
00041 
00042 #endif // RSSBLOCKSDEF_H