|
@@ -25,15 +25,15 @@ namespace Plugin {
|
|
|
25
25
|
|
|
26
26
|
namespace {
|
|
27
27
|
|
|
28
|
-
static Metadata<OutOfProcessPreconditions>metadata(
|
|
28
|
+
static Metadata<OutOfProcessPreconditions> metadata(
|
|
29
29
|
// Version
|
|
30
30
|
1, 0, 0,
|
|
31
31
|
// Preconditions
|
|
32
|
-
{ subsystem::GRAPHICS },
|
|
32
|
+
{ subsystem::GRAPHICS , subsystem::NOT_GRAPHICS , subsystem::TIME },
|
|
33
33
|
// Terminations
|
|
34
|
-
{
|
|
34
|
+
{},
|
|
35
35
|
// Controls
|
|
36
|
-
{
|
|
36
|
+
{}
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
|
|
22
22
|
#include "Module.h"
|
|
23
23
|
#include <interfaces/IMessageControl.h>
|
|
24
|
-
#include <interfaces/json/JMessageControl.h>
|
|
25
24
|
|
|
26
25
|
namespace Thunder {
|
|
27
26
|
namespace Plugin {
|
|
@@ -44,6 +43,7 @@ namespace Plugin {
|
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
~OutOfProcessPreconditions() override = default;
|
|
46
|
+
private:
|
|
47
47
|
class Notification : public RPC::IRemoteConnection::INotification {
|
|
48
48
|
public:
|
|
49
49
|
Notification(const Notification&) = delete;
|
|
@@ -42,6 +42,11 @@ namespace Plugin {
|
|
|
42
42
|
INTERFACE_ENTRY(Exchange::IMessageControl)
|
|
43
43
|
END_INTERFACE_MAP
|
|
44
44
|
|
|
45
|
+
// Type aliases copied from interface headers
|
|
46
|
+
using IControlIterator = RPC::IIteratorType<Control, Exchange::ID_MESSAGE_CONTROL_ITERATOR>;
|
|
47
|
+
using IStringIterator = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
|
|
48
|
+
using messagetype = Core::Messaging::Metadata::type;
|
|
49
|
+
|
|
45
50
|
// IMessageControl methods
|
|
46
51
|
|
|
47
52
|
Core::hresult Enable(const messagetype /* type */, const string& /* category */, const string& /* module */, const bool /* enabled */) override {
|
|
@@ -55,6 +60,7 @@ namespace Plugin {
|
|
|
55
60
|
Core::hresult Controls(const string& /* module */ /* @index */, IControlIterator*& /* control */ /* @out */) const override {
|
|
56
61
|
return Core::ERROR_NONE;
|
|
57
62
|
}
|
|
63
|
+
|
|
58
64
|
private:
|
|
59
65
|
|
|
60
66
|
};
|