Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
plugins_swig.h
Go to the documentation of this file.
1 #include <QObject>
2 #include "core/sheet.h"
3 #include "core/document.h"
5 
6 class CAMainWin { //: public QObject {
7 // currentSheet (SHEET = OK)
8 
9 // CAScoreViewport(NOT_OK) {currentScoreViewport}
10 // -> selection.size = v->selection().front()->drawableMusElement::DrawableNote? : BAD BAD BAD
11 // -> front()->musElement (OK)
12 
13 // currentScoreViewport
14 // -> musElementSelection ok
15 //
16 public:
17  CAMainWin () { pyConsoleIface = NULL; };
19  //CAScoreViewPort *v = currentScoreViewPort();
20  //if (v) return v->sheet();
21  //else return 0;
22  return NULL;
23  };
24 
26 };
27 
28 class CACanorus {
29 public:
30  static int mainWinCount() { return 0; };
31  static CAMainWin* mainWinAt(int i) { return new CAMainWin(); }
32 };