mirror of
https://github.com/Yet-Another-DreamTeam/quicknote.git
synced 2026-03-13 16:14:39 +00:00
add NotImplementedException
This commit is contained in:
parent
3dbf5e95c3
commit
15b2eb2fc0
@ -2,49 +2,59 @@
|
||||
#define COMMANDS_H
|
||||
|
||||
#include <iostream>
|
||||
#include "../lib/lpstd/lpstd.hpp"
|
||||
|
||||
namespace commands
|
||||
using namespace lpstd::exceptions;
|
||||
|
||||
namespace commands
|
||||
{
|
||||
void add(int argc, char *argv[])
|
||||
{
|
||||
std::cout << "add" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
void list(int argc, char *argv[])
|
||||
{
|
||||
std::cout << "list" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
void view(int argc, char *argv[])
|
||||
{
|
||||
std::cout << "view" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
void edit(int argc, char *argv[])
|
||||
{
|
||||
std::cout << "edit" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
void remove(int argc, char *argv[])
|
||||
{
|
||||
std::cout << "remove" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
void search(int argc, char *argv[])
|
||||
{
|
||||
std::cout << "search" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
// not implemented
|
||||
void collect(int argc, char *argv[])
|
||||
{
|
||||
// lpstd::NotImplementedException();
|
||||
std::cout << "collect" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
void help(int argc, char *argv[])
|
||||
{
|
||||
std::cout << "help" << std::endl;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
} // namespace commands
|
||||
|
||||
@ -3,5 +3,5 @@
|
||||
#include "./command.h"
|
||||
#include "./commands.h"
|
||||
|
||||
Setup setup = Setup();
|
||||
Setup setup;
|
||||
Command command;
|
||||
Loading…
x
Reference in New Issue
Block a user