~ubuntu-branches/ubuntu/karmic/codelite/karmic

« back to all changes in this revision

Viewing changes to CodeLite/fileextmanager.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-08-15 17:42:43 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090815174243-nlb9ikgigbiybz12
Tags: 1.0.2893+dfsg-0ubuntu1
* debian/rules:
  + Tidy up get-orig-source rule
* debian/control:
  + Bump Standards-Version
  + Change Maintainer email address to @ubuntu.com
  + Drop cdbs build-dependency
* debian/copyright:
  + Update to DEP-5 format
* debian/patches/00_add-fPIC.patch:
  + Dropped, fix upstream
* Closes LP: #413992

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __fileextmanager__
 
2
#define __fileextmanager__
 
3
 
 
4
#include <wx/string.h>
 
5
#include <map>
 
6
 
 
7
class FileExtManager {
 
8
 
 
9
public:
 
10
        enum FileType {
 
11
                TypeSource,
 
12
                TypeHeader,
 
13
                TypeResource,
 
14
                TypeYacc,
 
15
                TypeLex,
 
16
                TypeQtForm,
 
17
                TypeQtResource,
 
18
                TypeOther
 
19
        };
 
20
 
 
21
private:
 
22
        static std::map<wxString, FileType> m_map;
 
23
 
 
24
public:
 
25
        static FileType GetType(const wxString &filename);
 
26
        static void     Init();
 
27
};
 
28
#endif // __fileextmanager__