PolycodeIDEApp.h 867 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. protected:
  31. PolycodeFrame *frame;
  32. CocoaCore *core;
  33. PolycodeEditorManager *editorManager;
  34. PolycodeProjectManager *projectManager;
  35. };