~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/contrib/BrowseTracker/Version.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ----------------------------------------------------------------------------
 
2
/*
 
3
        This file is part of Code Snippets, a plugin for Code::Blocks
 
4
        Copyright (C) 2007 Pecan Heber
 
5
 
 
6
        This program is free software; you can redistribute it and/or
 
7
        modify it under the terms of the GNU General Public License
 
8
        as published by the Free Software Foundation; either version 2
 
9
        of the License, or (at your option) any later version.
 
10
 
 
11
        This program is distributed in the hope that it will be useful,
 
12
        but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
        GNU General Public License for more details.
 
15
 
 
16
        You should have received a copy of the GNU General Public License
 
17
        along with this program; if not, write to the Free Software
 
18
        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
19
*/
 
20
// ----------------------------------------------------------------------------
 
21
// RCS-ID: $Id: version.h 25 2008-01-02 20:13:48Z Pecan $
 
22
 
 
23
#ifndef VERSION_H
 
24
#define VERSION_H
 
25
// ---------------------------------------------------------------------------
 
26
// Logging / debugging
 
27
// ---------------------------------------------------------------------------
 
28
//debugging control
 
29
#include <wx/log.h>
 
30
 
 
31
#define LOGIT wxLogDebug
 
32
#if defined(LOGGING)
 
33
 #define LOGGING 1
 
34
 #undef LOGIT
 
35
 #define LOGIT wxLogMessage
 
36
 #define TRAP asm("int3")
 
37
#endif
 
38
 
 
39
// ----------------------------------------------------------------------------
 
40
   #if LOGGING
 
41
        extern wxLogWindow*    m_pLog;
 
42
   #endif
 
43
// ----------------------------------------------------------------------------
 
44
class AppVersion
 
45
// ----------------------------------------------------------------------------
 
46
{
 
47
    public:
 
48
        AppVersion();
 
49
       ~AppVersion();
 
50
 
 
51
    wxString GetVersion(){return m_version;}
 
52
 
 
53
    wxString m_version;
 
54
 
 
55
    protected:
 
56
    private:
 
57
};
 
58
 
 
59
#include <wx/string.h>
 
60
//-----Release-Feature-Fix------------------
 
61
#define VERSION wxT("1.2.73 2008/02/27")
 
62
//------------------------------------------
 
63
// Release - Current development identifier
 
64
// Feature - User interface level
 
65
// Fix     - bug fix or non UI breaking addition
 
66
#endif // VERSION_H
 
67