~ubuntu-branches/ubuntu/trusty/codeblocks/trusty-proposed

« back to all changes in this revision

Viewing changes to src/plugins/contrib/lib_finder/processingdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2011-01-22 20:58:57 UTC
  • mfrom: (3.1.3 maverick)
  • Revision ID: james.westby@ubuntu.com-20110122205857-mlwokxogiic0dnu7
Tags: 10.05-1
* Initial Debian release (Closes: #304570)
* Setting myself as Maintainer, original Ubuntu maintainer set as
  Uploader
* Use debian/watch to get the original tarball, instead of an ad-hoc
  script
* Wrap multivalue fields in debian/control
* Update debian/copyright with lots of missing info, and use DEP-5
* Add missing linkage to libX11 (03-fix_libX11_linkage.patch)
* Use dh7 for debian/rules
* Build-Depend on dh-autoreconf, since we need to re-generate autotools
  machinery (libtool version mismatch)
* Migrate from libwxsmithlib0-dev to libwxsmithlib-dev, to ease
  future SONAME bumps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <wx/arrstr.h>
30
30
 
31
31
//(*Headers(ProcessingDlg)
 
32
#include "scrollingdialog.h"
32
33
#include <wx/sizer.h>
33
34
#include <wx/stattext.h>
34
35
#include <wx/button.h>
35
 
#include <wx/dialog.h>
36
36
#include <wx/gauge.h>
37
37
//*)
38
38
 
39
 
#include "libraryconfig.h"
40
 
#include "libraryconfigmanager.h"
 
39
#include "librarydetectionconfig.h"
 
40
#include "librarydetectionmanager.h"
41
41
#include "resultmap.h"
42
42
#include "pkgconfigmanager.h"
43
43
 
44
44
WX_DECLARE_STRING_HASH_MAP(wxArrayString,FileNamesMap);
45
45
WX_DECLARE_STRING_HASH_MAP(wxString,wxStringStringMap);
46
46
 
47
 
class ProcessingDlg: public wxDialog
 
47
class ProcessingDlg: public wxScrollingDialog
48
48
{
49
49
        public:
50
50
 
51
 
                ProcessingDlg(wxWindow* parent,LibraryConfigManager& Manager,TypedResults& KnownResults,ResultMap& FoundResults,wxWindowID id = -1);
 
51
                ProcessingDlg(wxWindow* parent, LibraryDetectionManager& Manager, TypedResults& KnownResults, wxWindowID id = -1);
52
52
                virtual ~ProcessingDlg();
53
53
 
54
54
                //(*Identifiers(ProcessingDlg)
61
61
 
62
62
                bool ProcessLibs();
63
63
 
 
64
                bool ProcessLibs(const wxArrayString& Shortcuts);
 
65
 
 
66
                void ApplyResults(bool addOnly);
 
67
 
64
68
        protected:
65
69
 
66
70
                //(*Handlers(ProcessingDlg)
78
82
        private:
79
83
 
80
84
        void ReadDir(const wxString& DirName);
81
 
        void ProcessLibrary(const LibraryConfig* Config);
 
85
        void ProcessLibrary(const LibraryDetectionConfig* Config, const LibraryDetectionConfigSet* Set);
82
86
        void SplitPath(const wxString& FileName,wxArrayString& Split);
83
87
        bool IsVariable(const wxString& NamePart) const;
84
 
        void CheckFilter(const wxString& BasePath,const wxStringStringMap& Vars,const wxArrayString& CompilerList,const LibraryConfig *Config,int WhichFilter);
85
 
        void FoundLibrary(const wxString& BasePath,const wxStringStringMap& Vars,const wxArrayString& CompilerList,const LibraryConfig *Config);
 
88
        void CheckFilter(const wxString& BasePath,const wxStringStringMap& Vars,const wxArrayString& CompilerList,const LibraryDetectionConfig *Config,const LibraryDetectionConfigSet* Set,int WhichFilter);
 
89
        void FoundLibrary(const wxString& BasePath,const wxStringStringMap& Vars,const wxArrayString& CompilerList,const LibraryDetectionConfig *Config,const LibraryDetectionConfigSet* Set);
86
90
        wxString FixVars(wxString Original,const wxStringStringMap& Vars);
87
91
        wxString FixPath(wxString Original);
88
92
 
89
93
        bool StopFlag;
90
94
        FileNamesMap Map;
91
 
        LibraryConfigManager& m_Manager;
 
95
        LibraryDetectionManager& m_Manager;
92
96
        TypedResults& m_KnownResults;
93
 
        ResultMap& m_FoundResults;
 
97
        ResultMap m_FoundResults;
94
98
 
95
99
                DECLARE_EVENT_TABLE()
96
100
};