mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
66 lines
3.5 KiB
C
66 lines
3.5 KiB
C
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright 2015 - 2016, Paul Beckingham, Federico Hernandez.
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included
|
|
// in all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
// SOFTWARE.
|
|
//
|
|
// http://www.opensource.org/licenses/mit-license.php
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef INCLUDED_COMMANDS
|
|
#define INCLUDED_COMMANDS
|
|
|
|
#include <CLI.h>
|
|
#include <Rules.h>
|
|
#include <Database.h>
|
|
#include <Extensions.h>
|
|
|
|
int CmdCancel ( Rules&, Database& );
|
|
int CmdClear (const CLI&, Rules&, Database& );
|
|
int CmdConfig (const CLI&, Rules&, Database& );
|
|
int CmdContinue ( Rules&, Database& );
|
|
int CmdDefault ( Rules&, Database& );
|
|
int CmdDiagnostics ( Rules&, Database&, const Extensions&);
|
|
int CmdExport (const CLI&, Rules&, Database& );
|
|
int CmdExtensions ( Rules&, const Extensions&);
|
|
int CmdGaps (const CLI&, Rules&, Database& );
|
|
int CmdHelpUsage ( );
|
|
int CmdHelp (const CLI& );
|
|
int CmdImport ( );
|
|
int CmdLengthen (const CLI&, Rules&, Database& );
|
|
int CmdMove (const CLI&, Rules&, Database& );
|
|
int CmdReport (const CLI&, Rules&, Database&, const Extensions&);
|
|
int CmdShorten (const CLI&, Rules&, Database& );
|
|
int CmdShow ( Rules& );
|
|
int CmdSplit (const CLI&, Rules&, Database& );
|
|
int CmdStart (const CLI&, Rules&, Database& );
|
|
int CmdStop (const CLI&, Rules&, Database& );
|
|
int CmdTag (const CLI&, Rules&, Database& );
|
|
int CmdTags ( Rules&, Database& );
|
|
int CmdTrack (const CLI&, Rules&, Database& );
|
|
int CmdUndo ( );
|
|
int CmdUntag (const CLI&, Rules&, Database& );
|
|
|
|
int CmdChartDay (const CLI&, Rules&, Database& );
|
|
int CmdChartWeek (const CLI&, Rules&, Database& );
|
|
int CmdChartMonth (const CLI&, Rules&, Database& );
|
|
int CmdSummary (const CLI&, Rules&, Database& );
|
|
|
|
#endif
|