#pragma once

#include "Imports.h"

class BridgeResult
{
public:
    enum Type
    {
        ScriptAdd,
        ScriptMessage,
        RefInitialize,
        MenuAddToList,
        MenuAdd,
        MenuAddEntry,
        MenuAddSeparator,
        MenuClear,
        MenuRemove,
        SelectionGet,
        SelectionSet,
        GetlineWindow,
        MenuSetIcon,
        MenuSetEntryIcon,
        MenuSetEntryChecked,
        MenuSetVisible,
        MenuSetEntryVisible,
        MenuSetName,
        MenuSetEntryName,
        GetGlobalNotes,
        GetDebuggeeNotes,
        RegisterScriptLang,
        LoadGraph,
        GraphAt,
        GetActiveView,
        TypeAddNode,
        TypeClear,
        MenuSetEntryHotkey,
        GraphCurrent,
        Last,
    };
    explicit BridgeResult(Type type);
    ~BridgeResult();
    dsint Wait();
private:
    Type mType;
};
