[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [akonadi-next/feature/new_cli] akonadi2_cli: akonadi list
From: Aaron Seigo <aseigo () kde ! org>
Date: 2015-12-23 19:28:37
Message-ID: E1aBp5R-0002QW-Vm () scm ! kde ! org
[Download RAW message or body]
Git commit 26c510ace968af7d4c82c1f192bc8cdcb3505910 by Aaron Seigo.
Committed on 23/12/2015 at 19:23.
Pushed by aseigo into branch 'feature/new_cli'.
akonadi list
M +4 -1 akonadi2_cli/syntaxtree.cpp
http://commits.kde.org/akonadi-next/26c510ace968af7d4c82c1f192bc8cdcb3505910
diff --git a/akonadi2_cli/syntaxtree.cpp b/akonadi2_cli/syntaxtree.cpp
index e87b291..5dd4c54 100644
--- a/akonadi2_cli/syntaxtree.cpp
+++ b/akonadi2_cli/syntaxtree.cpp
@@ -25,6 +25,7 @@
// TODO: needs a proper registry; making "core" modules plugins is
// almost certainly overkill, but this is not the way either
#include "syntax_modules/core_syntax.h"
+#include "syntax_modules/akonadi_list.h"
SyntaxTree *SyntaxTree::s_module = 0;
@@ -43,7 +44,9 @@ SyntaxTree::Syntax::Syntax(const QString &k, const QString &helpText, std::funct
SyntaxTree::SyntaxTree()
{
QVector<std::function<SyntaxList()> > syntaxSyntaxTrees;
- syntaxSyntaxTrees << &CoreSyntax::syntax;
+ syntaxSyntaxTrees << &CoreSyntax::syntax
+ << &AkonadiList::syntax
+ ;
for (auto syntaxSyntaxTree: syntaxSyntaxTrees) {
m_syntax += syntaxSyntaxTree();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic