Permalink
Browse files

Move IFrameProjectService to separate include.

  • Loading branch information...
1 parent 24c8127 commit 165010f4848b469369432d10276199aba55281ab @adamv adamv committed May 11, 2009
Showing with 36 additions and 15 deletions.
  1. +2 −15 src/EditorFrame.h
  2. +28 −0 src/IFrameProjectService.h
  3. +2 −0 src/IFrameRemoteThread.h
  4. +4 −0 src/e.vcproj
View
@@ -32,8 +32,9 @@
#include "IFrameEditorService.h"
#include "IFrameSymbolService.h"
#include "IFrameRemoteThread.h"
+#include "IFrameProjectService.h"
#include "IFrameUndoPane.h"
-#include "IFrameSearchSErvice.h"
+#include "IFrameSearchService.h"
#include "IHtmlWnd.h"
@@ -164,20 +165,6 @@ enum {
MENU_BOOKMARK_CLEAR
};
-// EditorFrame services as used by the ProjectPane
-class IFrameProjectService : public IFrameRemoteThread {
-public:
- // Opening local and remote files.
- virtual bool OpenFile(const wxFileName& path, wxFontEncoding enc=wxFONTENCODING_SYSTEM, const wxString& mate=wxEmptyString) = 0;
- virtual bool OpenRemoteFile(const wxString& url, const RemoteProfile* rp=NULL) = 0;
-
- // Prompting for remote credentials.
- virtual bool AskRemoteLogin(const RemoteProfile* rp) = 0;
-
- // Directory monitoring.
- virtual DirWatcher& GetDirWatcher() = 0;
-};
-
class EditorFrame : public KeyHookable<wxFrame>,
public IFrameSymbolService,
public IFrameProjectService,
View
@@ -0,0 +1,28 @@
+#ifndef __IFRAMEPROJECTSERVICE_H__
+#define __IFRAMEPROJECTSERVICE_H__
+
+#include "IFrameRemoteThread.h"
+#include <wx/fontenc.h>
+
+class wxFileName;
+class wxString;
+class RemoteProfile;
+class DirWatcher;
+
+// EditorFrame services as used by the ProjectPane
+class IFrameProjectService : public IFrameRemoteThread {
+public:
+ // Opening local and remote files.
+ virtual bool OpenFile(const wxFileName& path, wxFontEncoding enc=wxFONTENCODING_SYSTEM, const wxString& mate=wxEmptyString) = 0;
+ virtual bool OpenRemoteFile(const wxString& url, const RemoteProfile* rp=NULL) = 0;
+
+ // Prompting for remote credentials.
+ virtual bool AskRemoteLogin(const RemoteProfile* rp) = 0;
+
+ // Directory monitoring.
+ virtual DirWatcher& GetDirWatcher() = 0;
+};
+
+
+
+#endif // __IFRAMEPROJECTSERVICE_H__
View
@@ -1,6 +1,8 @@
#ifndef __IFRAMEREMOTETHREAD_H__
#define __IFRAMEREMOTETHREAD_H__
+class RemoteThread;
+
class IFrameRemoteThread {
public:
// For remote file access.
View
@@ -355,6 +355,10 @@
RelativePath=".\IFrameEditorService.h"
>
</File>
+ <File
+ RelativePath=".\IFrameProjectService.h"
+ >
+ </File>
<File
RelativePath=".\IFrameRemoteThread.h"
>

0 comments on commit 165010f

Please sign in to comment.