Open Search
    ClassicCommandSettings Struct Reference

    #include <database.h>

    Detailed Description

    Settings to register a classic (CommandData) command in the database. Classic commands are registered with SDKDatabaseInterface::AddClassicCommand().

    Public Member Functions

     ClassicCommandSettings ()
     
    MAXON_IMPLICIT ClassicCommandSettings (const String &id, const String &name, const String &path)
     

    Public Attributes

    String _id
     
    String _name
     
    String _path
     
    Int32 _pluginID
     

    Constructor & Destructor Documentation

    ◆ ClassicCommandSettings() [1/2]

    ◆ ClassicCommandSettings() [2/2]

    MAXON_IMPLICIT ClassicCommandSettings ( const String id,
    const String name,
    const String path 
    )

    Constructor creating command settings The preferred way to create a ClassicCommandSettings object.

    Parameters
    [in]idID of the command.
    [in]nameName of the command (GUI display).
    [in]pathMenu path of the command (GUI display).

    Member Data Documentation

    ◆ _id

    String _id

    The command ID.

    ◆ _name

    String _name

    Name of the command.

    ◆ _path

    String _path

    Path of the command.

    ◆ _pluginID

    Int32 _pluginID

    The classic plugin ID.