PolycodeIDEApp.h 885 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * PolycodeIDEApp.h
  3. * Polycode
  4. *
  5. * Created by Ivan Safrin on 11/29/10.
  6. * Copyright 2010 Local Projects. All rights reserved.
  7. *
  8. */
  9. #import "PolySubstanceView.h"
  10. #include "PolycodeGlobals.h"
  11. #include "PolycodeProjectManager.h"
  12. #include "PolycodeEditorManager.h"
  13. #include "Polycode.h"
  14. #include "PolyCocoaCore.h"
  15. #include "PolycodeUI.h"
  16. #include "PolycodeFrame.h"
  17. #include "PolycodeImageEditor.h"
  18. #include "PolycodeFontEditor.h"
  19. #include "PolycodeTextEditor.h"
  20. using namespace Polycode;
  21. class PolycodeIDEApp : public EventHandler {
  22. public:
  23. PolycodeIDEApp(SubstanceView *view);
  24. ~PolycodeIDEApp();
  25. void handleEvent(Event *event);
  26. bool Update();
  27. // menu commands
  28. void newProject();
  29. void openProject();
  30. void saveFile();
  31. protected:
  32. PolycodeFrame *frame;
  33. CocoaCore *core;
  34. PolycodeEditorManager *editorManager;
  35. PolycodeProjectManager *projectManager;
  36. };