mirror of
https://github.com/jwetzell/QControlKit.git
synced 2026-08-20 22:49:15 +00:00
Basic workspace connection and Cue Lists fetching working
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace QSharp
|
||||
{
|
||||
public class QServerFoundArgs : EventArgs
|
||||
{
|
||||
public QServer server { get; set; }
|
||||
}
|
||||
public class QWorkspacesUpdatedArgs : EventArgs
|
||||
{
|
||||
public List<QWorkspaceInfo> Workspaces { get; set; }
|
||||
}
|
||||
|
||||
public class QWorkspaceUpdatedArgs : EventArgs
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class QWorkspaceSettingsUpdatedArgs : EventArgs
|
||||
{
|
||||
public string settingsType { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QWorkspaceLightDashboardUpdatedArgs : EventArgs
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class QWorkspaceConnectedArgs : EventArgs
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class QWorkspaceDisconnectedArgs : EventArgs
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class QWorkspaceConnectionErrorArgs : EventArgs
|
||||
{
|
||||
public string status { get; set; }
|
||||
}
|
||||
public class QQLabPreferencesUpdatedArgs : EventArgs
|
||||
{
|
||||
public string key { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QCueUpdatedArgs : EventArgs
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class QCueListsUpdatedArgs : EventArgs
|
||||
{
|
||||
public JToken data { get; set; }
|
||||
}
|
||||
|
||||
public class QCueNeedsUpdatedArgs : EventArgs
|
||||
{
|
||||
public string cueID { get; set; }
|
||||
}
|
||||
|
||||
public class QCueListChangedPlaybackPositionArgs : EventArgs
|
||||
{
|
||||
public string cueID { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
|
||||
namespace QSharp
|
||||
{
|
||||
public delegate void QServerFoundHandler(object source, QServerFoundArgs args);
|
||||
|
||||
public delegate void QWorkspacesUpdatedHandler(object source, QWorkspacesUpdatedArgs args);
|
||||
|
||||
public delegate void QWorkspaceUpdatedHandler(object source, QWorkspaceUpdatedArgs args);
|
||||
public delegate void QWorkspaceSettingsUpdatedHandler(object source, QWorkspaceSettingsUpdatedArgs args);
|
||||
public delegate void QWorkspaceLightDashboardUpdatedHandler(object source, QWorkspaceLightDashboardUpdatedArgs args);
|
||||
public delegate void QWorkspaceConnectedHandler(object source, QWorkspaceConnectedArgs args);
|
||||
public delegate void QWorkspaceDisconnectedHandler(object source, QWorkspaceDisconnectedArgs args);
|
||||
public delegate void QWorkspaceConnectionErrorHandler(object source, QWorkspaceConnectionErrorArgs args);
|
||||
public delegate void QQLabPreferencesUpdatedHandler(object source, QQLabPreferencesUpdatedArgs args);
|
||||
|
||||
|
||||
public delegate void QCueUpdatedHandler(object source, QCueUpdatedArgs args);
|
||||
public delegate void QCueListsUpdatesHandler(object source, QCueListsUpdatedArgs args);
|
||||
public delegate void QCueNeedsUpdatedHandler(object source, QCueNeedsUpdatedArgs args);
|
||||
public delegate void QCueListChangedPlaybackPositionHandler(object source, QCueListChangedPlaybackPositionArgs args);
|
||||
}
|
||||
Reference in New Issue
Block a user