Browse Source

ByteArray default constructor

master
Robin Thoni 9 years ago
parent
commit
fb3650ee40
2 changed files with 29 additions and 0 deletions
  1. 25
    0
      DBO/ScBasicCommand.h
  2. 4
    0
      DBO/ScBasicCommand.hxx

+ 25
- 0
DBO/ScBasicCommand.h View File

@@ -0,0 +1,25 @@
1
+//
2
+// Created by robin on 6/27/15.
3
+//
4
+
5
+#ifndef LIBPCSC_CPPTOOLS_SCBASICCOMMAND_H
6
+# define LIBPCSC_CPPTOOLS_SCBASICCOMMAND_H
7
+
8
+
9
+# include <bits/stringfwd.h>
10
+# include "ScCommand.h"
11
+
12
+class ScBasicCommand : public ScCommand {
13
+
14
+public:
15
+    ScBasicCommand(const std::string& data);
16
+
17
+    virtual ScByteArray getData() const override;
18
+
19
+private:
20
+    ScByteArray _data;
21
+};
22
+
23
+# include "ScCommand.hxx"
24
+
25
+#endif //LIBPCSC_CPPTOOLS_SCBASICCOMMAND_H

+ 4
- 0
DBO/ScBasicCommand.hxx View File

@@ -0,0 +1,4 @@
1
+//
2
+// Created by robin on 6/27/15.
3
+//
4
+

Loading…
Cancel
Save