1 ////////////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright 2016 - 2019, Thomas Lauf, Paul Beckingham, Federico Hernandez.
4 //
5 // Permission is hereby granted, free of charge, to any person obtaining a copy
6 // of this software and associated documentation files (the "Software"), to deal
7 // in the Software without restriction, including without limitation the rights
8 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 // copies of the Software, and to permit persons to whom the Software is
10 // furnished to do so, subject to the following conditions:
11 //
12 // The above copyright notice and this permission notice shall be included
13 // in all copies or substantial portions of the Software.
14 //
15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 // SOFTWARE.
22 //
23 // https://www.opensource.org/licenses/mit-license.php
24 //
25 ////////////////////////////////////////////////////////////////////////////////
26 
27 #ifndef INCLUDED_COMMANDS
28 #define INCLUDED_COMMANDS
29 
30 #include <CLI.h>
31 #include <Rules.h>
32 #include <Database.h>
33 #include <Extensions.h>
34 #include <Journal.h>
35 
36 int CmdAnnotate      (const CLI&, Rules&, Database&, Journal&                   );
37 int CmdCancel        (            Rules&, Database&, Journal&                   );
38 int CmdConfig        (const CLI&, Rules&,            Journal&                   );
39 int CmdContinue      (const CLI&, Rules&, Database&, Journal&                   );
40 int CmdDefault       (            Rules&, Database&                             );
41 int CmdDelete        (const CLI&, Rules&, Database&, Journal&                   );
42 int CmdDiagnostics   (            Rules&, Database&,           const Extensions&);
43 int CmdExport        (const CLI&, Rules&, Database&                             );
44 int CmdExtensions    (            Rules&,                      const Extensions&);
45 int CmdFill          (const CLI&, Rules&, Database&, Journal&                   );
46 int CmdGaps          (const CLI&, Rules&, Database&                             );
47 int CmdGet           (const CLI&, Rules&, Database&                             );
48 int CmdHelpUsage     (                                         const Extensions&);
49 int CmdHelp          (const CLI&,                              const Extensions&);
50 int CmdJoin          (const CLI&, Rules&, Database&, Journal&                   );
51 int CmdLengthen      (const CLI&, Rules&, Database&, Journal&                   );
52 int CmdModify        (const CLI&, Rules&, Database&, Journal&                   );
53 int CmdMove          (const CLI&, Rules&, Database&, Journal&                   );
54 int CmdReport        (const CLI&, Rules&, Database&,           const Extensions&);
55 int CmdResize        (const CLI&, Rules&, Database&, Journal&                   );
56 int CmdShorten       (const CLI&, Rules&, Database&, Journal&                   );
57 int CmdShow          (            Rules&                                        );
58 int CmdSplit         (const CLI&, Rules&, Database&, Journal&                   );
59 int CmdStart         (const CLI&, Rules&, Database&, Journal&                   );
60 int CmdStop          (const CLI&, Rules&, Database&, Journal&                   );
61 int CmdTag           (const CLI&, Rules&, Database&, Journal&                   );
62 int CmdTags          (const CLI&, Rules&, Database&                             );
63 int CmdTrack         (const CLI&, Rules&, Database&, Journal&                   );
64 int CmdUndo          (            Rules&, Database&, Journal&                   );
65 int CmdUntag         (const CLI&, Rules&, Database&, Journal&                   );
66 
67 int CmdChartDay      (const CLI&, Rules&, Database&                             );
68 int CmdChartWeek     (const CLI&, Rules&, Database&                             );
69 int CmdChartMonth    (const CLI&, Rules&, Database&                             );
70 int CmdSummary       (const CLI&, Rules&, Database&                             );
71 
72 #endif
73