Sfoglia il codice sorgente

ByteArray default constructor

master
Robin Thoni 9 anni fa
parent
commit
fb3650ee40
2 ha cambiato i file con 29 aggiunte e 0 eliminazioni
  1. 25
    0
      DBO/ScBasicCommand.h
  2. 4
    0
      DBO/ScBasicCommand.hxx

+ 25
- 0
DBO/ScBasicCommand.h Vedi 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 Vedi File

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

Loading…
Annulla
Salva