diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-20 16:13:44 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-20 16:13:44 +0100 |
commit | 2d3c5a9c47d99c8f4f5561f9eae16497c1cde63a (patch) | |
tree | a3f800e17a34a16a00b6dc0b980e2f6cfed22dd5 /Source/Library/Userland/App | |
parent | cab353cbb21c142ac1e227d42338fa587e1a7f24 (diff) | |
download | Melon-2d3c5a9c47d99c8f4f5561f9eae16497c1cde63a.tar.gz Melon-2d3c5a9c47d99c8f4f5561f9eae16497c1cde63a.zip |
Added file streams and string streams
Diffstat (limited to 'Source/Library/Userland/App')
-rw-r--r-- | Source/Library/Userland/App/ShellApp.proto.cpp | 4 | ||||
-rw-r--r-- | Source/Library/Userland/App/ShellApp.proto.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Source/Library/Userland/App/ShellApp.proto.cpp b/Source/Library/Userland/App/ShellApp.proto.cpp index f2233bc..9528ca2 100644 --- a/Source/Library/Userland/App/ShellApp.proto.cpp +++ b/Source/Library/Userland/App/ShellApp.proto.cpp @@ -9,6 +9,10 @@ ShellApp::ShellApp(String name, String desc) addFlag("h", "help", "Show this help screen"); } +ShellApp::~ShellApp() { + outvt << END; +} + void ShellApp::init() { //Parse flags u32int argc = pr.argc(); diff --git a/Source/Library/Userland/App/ShellApp.proto.h b/Source/Library/Userland/App/ShellApp.proto.h index 5575112..2308fd1 100644 --- a/Source/Library/Userland/App/ShellApp.proto.h +++ b/Source/Library/Userland/App/ShellApp.proto.h @@ -24,6 +24,7 @@ class ShellApp : public Application { Vector<flag_t> flags; String appName, appDesc; ShellApp(String name, String desc); + ~ShellApp(); virtual void init(); |