PolycodeIDEApp.h 903 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 newFile();
  30. void openProject();
  31. void saveFile();
  32. protected:
  33. PolycodeFrame *frame;
  34. CocoaCore *core;
  35. PolycodeEditorManager *editorManager;
  36. PolycodeProjectManager *projectManager;
  37. };