Browse code
non-virtual model classes
Greg Wiley authored on 01/05/2017 22:13:18
Showing 12 changed files
Showing 12 changed files
- conversation.h
- dual_control.h
- logger.h
- sys_fstream.h
- sys_pam.h
- sys_pwd.h
- sys_syslog.h
- sys_unistd.h
- token.h
- user.h
- validator.h
- validator_test.cc
... | ... |
@@ -26,13 +26,14 @@ public: |
26 | 26 |
} |
27 | 27 |
}; |
28 | 28 |
|
29 |
-class fstreams : public fstreams_ifc |
|
29 |
+class fstreams |
|
30 | 30 |
{ |
31 | 31 |
public: |
32 | 32 |
typedef std::shared_ptr<fstreams_ifc> delegate; |
33 | 33 |
private: |
34 | 34 |
delegate delegate_; |
35 | 35 |
public: |
36 |
+ typedef fstreams_ifc::pstream pstream; |
|
36 | 37 |
fstreams (const delegate &delegate) : delegate_ (delegate) {} |
37 | 38 |
fstreams() : fstreams (delegate (new fstreams_ifc)) {} |
38 | 39 |
pstream open_fstream (const std::string &file_path) |