1
1
#ifndef MODEM_DB_COMMANDS_H
2
2
#define MODEM_DB_COMMANDS_H
3
3
4
- #include " Firebase .h"
4
+ #include " FirebaseArduino .h"
5
5
#include " modem/command.h"
6
6
#include " modem/output-stream.h"
7
7
#include " modem/input-stream.h"
@@ -11,28 +11,28 @@ namespace modem {
11
11
12
12
class GetCommand : public Command {
13
13
public:
14
- GetCommand (Firebase * fbase) : Command(fbase) {}
14
+ GetCommand (FirebaseArduino * fbase) : Command(fbase) {}
15
15
16
16
bool execute (const String& command, InputStream* in, OutputStream* out);
17
17
};
18
18
19
19
class SetCommand : public Command {
20
20
public:
21
- SetCommand (Firebase * fbase) : Command(fbase) {}
21
+ SetCommand (FirebaseArduino * fbase) : Command(fbase) {}
22
22
23
23
bool execute (const String& command, InputStream* in, OutputStream* out);
24
24
};
25
25
26
26
class RemoveCommand : public Command {
27
27
public:
28
- RemoveCommand (Firebase * fbase) : Command(fbase) {}
28
+ RemoveCommand (FirebaseArduino * fbase) : Command(fbase) {}
29
29
30
30
bool execute (const String& command, InputStream* in, OutputStream* out);
31
31
};
32
32
33
33
class PushCommand : public Command {
34
34
public:
35
- PushCommand (Firebase * fbase) : Command(fbase) {}
35
+ PushCommand (FirebaseArduino * fbase) : Command(fbase) {}
36
36
37
37
bool execute (const String& command, InputStream* in, OutputStream* out);
38
38
};
@@ -44,15 +44,15 @@ class BeginCommand : public Command {
44
44
bool execute (const String& command, InputStream* in, OutputStream* out);
45
45
46
46
// This can only be called once.
47
- std::unique_ptr<Firebase > firebase ();
47
+ std::unique_ptr<FirebaseArduino > firebase ();
48
48
49
49
private:
50
- std::unique_ptr<Firebase > new_firebase_;
50
+ std::unique_ptr<FirebaseArduino > new_firebase_;
51
51
};
52
52
53
53
class StreamCommand : public Command {
54
54
public:
55
- StreamCommand (Firebase * fbase) : Command(fbase) {}
55
+ StreamCommand (FirebaseArduino * fbase) : Command(fbase) {}
56
56
57
57
bool execute (const String& command, InputStream* in, OutputStream* out);
58
58
};
0 commit comments