Import code from my Subversion repository
[black_box_cellml.git] / interfaces / BlaBoC.idl
blob64fee2407fce55eaba38efe6d60d7c1ce2ad5d06
1 #include "xpcom.idl"
2 #include "CellML_APISPEC.idl"
4 module blaboc_api
6 exception BlaBoCException
8 };
10 interface BlaBoC
11 : XPCOM::IObject
13 void variableIsInput(in cellml_api::CellMLVariable aVariable)
14 raises(BlaBoCException);
15 void variableIsOutput(in cellml_api::CellMLVariable aVariable)
16 raises(BlaBoCException);
17 void othersAreOutput();
18 void othersAreInput();
19 void computeBlaBoC()
20 raises(BlaBoCException);
22 readonly attribute wstring errorMessage;
23 readonly attribute wstring classImplementation;
26 interface BlaBoCBootstrap
27 : XPCOM::IObject
29 BlaBoC createBlaBoC(in cellml_api::Model aModel);
31 // XXX string is normally null terminated.
32 string assembleBlaBoC(in wstring classImplementation,
33 out unsigned long length);