~ubuntu-branches/ubuntu/trusty/3depict/trusty

« back to all changes in this revision

Viewing changes to src/wxcommon.h

  • Committer: Package Import Robot
  • Author(s): D Haley
  • Date: 2011-12-18 19:33:32 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20111218193332-1motgr3vg9xeh41b
Tags: 0.0.9-1
* Update to upstream 0.0.9 
* Close powerpc bug fixed by 0.0.8-1 (Closes: #655682) 
* Close mgl font parsing bug fixed by mathgl upstream (Closes: #623431)
* Fix unclean source package (Closes: #643039)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * wxcommon.h  - Common wxwidgets header stuff
 
3
 * Copyright (C) 2011  D Haley
 
4
 * 
 
5
 * This program is free software: you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation, either version 3 of the License, or
 
8
 * (at your option) any later version.
 
9
 * 
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 * 
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
1
18
#ifndef WXCOMMON_H
2
19
#define WXCOMMON_H
3
20
#include <wx/wx.h>
28
45
}
29
46
 
30
47
#include <string>
 
48
//locate the file we are looking for in OS specfic paths
31
49
std::string locateDataFile(const char *name);
32
50
 
33
51
extern wxEventType RemoteUpdateAvailEvent; 
34
52
 
 
53
 
 
54
//Return true IFF process ID and process name match running process
 
55
bool processMatchesName(size_t processID, const std::string &procName);
 
56
 
 
57
 
35
58
class VersionCheckThread : public wxThread
36
59
{
37
60
        private: