|
#ifndef ESBServerXX_H
#define ESBServerXX_H
#include "smart_ptr.h"
#include "ESBServerCtrlPanel.h"
#include <Controller/Browsers/OutlineBrowser.h>
#include <Controller/Browsers/HierarchyBrowser.h>
#include <Controller/Browsers/TypeBrowser.h>
#include <Controller/Browsers/WorkspaceBrowser.h>
#include "Workspace.h"
#include "CTagsDatabase.h"
#include "CTagsTypeInfoLoader.h"
#include "CTagsMethodLoader.h"
#include "CTagsFileOutlineLoader.h"
class ESBServer
{
private:
ESBServerControlPanel mRenderer;
OutlineBrowser mOutlineBrowser;
HierarchyBrowser mHierarchyBrowser;
TagBrowser mTypeBrowser;
TagBrowser mMethodBrowser;
WorkspaceBrowser mWorkspaceBrowser;
smart_ptr<Workspace> mWorkspace;
public:
ESBServer();
void showFileOutline(const std::string&, bool enforceModelReload = false);
void showHierarchy(const Inheritable&);
void showTypes();
void showMethods();
void showWorkspace();
void showBrowser(const std::string&);
void reparseFile(const std::string&);
void reparseWorkspace();
void openWorkspace(const Workspace&);
CWnd* getRenderer() { return &mRenderer; };
void run();
private:
//ESBServerOptionRenderer& getOptions() { return mOptions; }
OutlineBrowser& getOutlineBrowser() { return mOutlineBrowser; }
HierarchyBrowser& getHierarchyBrowser() { return mHierarchyBrowser; }
TagBrowser& getTypeBrowser() { return mTypeBrowser; }
TagBrowser& getMethodBrowser() { return mMethodBrowser; }
WorkspaceBrowser& getWorkspaceBrowser() { return mWorkspaceBrowser; }
void setWorkspace(const smart_ptr<Workspace> &w) { mWorkspace = w; }
smart_ptr<Workspace> getWorkspace() { return mWorkspace; }
smart_ptr<TypeInfoLoader> getTypeInfoLoader();
smart_ptr<MethodLoader> getMethodLoader();
smart_ptr<FileOutlineLoader> getFileOutlineLoader();
};
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.