inspect.cc
Go to the documentation of this file.
00001 #include "inspect.hh"
00002 #include "typelib/registry.hh"
00003 
00004 #include <iostream>
00005 using namespace std;
00006 using namespace Typelib;
00007 
00008 Inspect::Inspect()
00009     : Mode("inspect") { }
00010     
00011 bool Inspect::apply(int argc, char* const argv[])
00012 {
00013     if (argc < 2)
00014     {
00015         help(cerr);
00016         return false;
00017     }
00018 
00019     return true;
00020 }
00021 void Inspect::help(std::ostream& out) const
00022 {
00023     out << "Usage: typelib inspect registry-file" << endl;
00024 }
00025 
00026 


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Sep 14 2015 15:08:18