Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
/home/iurt/rpm/BUILD/canorus-0.7.R1002/src/interface/plugins_swig.h
Go to the documentation of this file.
00001 #include <QObject>
00002 #include "core/sheet.h"
00003 #include "core/document.h"
00004 #include "interface/pyconsoleinterface.h"
00005 
00006 class CAMainWin { //: public QObject {
00007 // currentSheet (SHEET = OK)
00008 
00009 // CAScoreViewport(NOT_OK) {currentScoreViewport}
00010 //   -> selection.size = v->selection().front()->drawableMusElement::DrawableNote?  : BAD BAD BAD
00011 //   -> front()->musElement (OK)
00012 
00013 // currentScoreViewport
00014 //   -> musElementSelection ok
00015 //   
00016 public:
00017         CAMainWin () { pyConsoleIface = NULL; };
00018         CASheet *currentSheet() {
00019                 //CAScoreViewPort *v = currentScoreViewPort();
00020                 //if (v) return v->sheet();
00021                 //else return 0;
00022                 return NULL;
00023         };
00024 
00025         CAPyConsoleInterface* pyConsoleIface;
00026 };
00027 
00028 class CACanorus {
00029 public:
00030         static int mainWinCount() { return 0; };
00031         static CAMainWin* mainWinAt(int i) { return new CAMainWin(); }
00032 };