Pārlūkot izejas kodu

ByteArray default constructor

master
Robin Thoni 9 gadus atpakaļ
vecāks
revīzija
fb3650ee40
2 mainītis faili ar 29 papildinājumiem un 0 dzēšanām
  1. 25
    0
      DBO/ScBasicCommand.h
  2. 4
    0
      DBO/ScBasicCommand.hxx

+ 25
- 0
DBO/ScBasicCommand.h Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt