Namespaces in Plugins

Is it possible to create a plugin with a Module as a namespace for some classes, so I can the use it like this:

Dim abc As MyModule.MyClassA

I’m getting a syntax error when compiling (but code completion works and shows MyClassA when typing the dot after MyModule). My plugin looks like that:

static REALclassDefinition MyClassDefinition = { kCurrentREALControlVersion, "MyModule.MyClass", NULL, // superclass ...

static REALmoduleDefinition MyModuleDefinition = { kCurrentREALControlVersion, "MyModule", ...

I can’t remember seeing something like that.

Not currently. You should file a feature request.