mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Added SkewedRuler and started on registration system.
This commit is contained in:
@@ -13,8 +13,32 @@
|
||||
#ifndef __AUDACITY_REGISTRAR__
|
||||
#define __AUDACITY_REGISTRAR__
|
||||
|
||||
// MSVC auto-indents, but I don't want that, for the namespace.
|
||||
// so using a macro for that works around ir
|
||||
// AND allows me to change the namespace name easily.
|
||||
|
||||
#define START_NAMESPACE namespace ModTrackPanel {
|
||||
|
||||
START_NAMESPACE
|
||||
|
||||
typedef enum
|
||||
{
|
||||
RegArtist,
|
||||
RegDataType,
|
||||
RegCommand,
|
||||
RegMenuItem,
|
||||
RegLast
|
||||
} t_RegistrarDispatchType;
|
||||
|
||||
class Registrar {
|
||||
public:
|
||||
static void Start();
|
||||
static void Finish();
|
||||
|
||||
};
|
||||
|
||||
|
||||
extern int RegistrarDispatch( t_RegistrarDispatchType Type );
|
||||
|
||||
};//End of Namespace.
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user