2011-02-28 13:40:06 +01:00
|
|
|
/**************************************************************************
|
|
|
|
|
**
|
2013-01-28 17:12:19 +01:00
|
|
|
** Copyright (c) 2013 Hugues Delorme
|
2012-10-02 09:12:39 +02:00
|
|
|
** Contact: http://www.qt-project.org/legal
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator.
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
|
|
|
** a written agreement between you and Digia. For licensing terms and
|
|
|
|
|
** conditions see http://qt.digia.com/licensing. For further information
|
|
|
|
|
** use the contact form at http://qt.digia.com/contact-us.
|
2011-02-28 13:40:06 +01:00
|
|
|
**
|
|
|
|
|
** GNU Lesser General Public License Usage
|
2012-10-02 09:12:39 +02:00
|
|
|
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
|
|
|
** General Public License version 2.1 as published by the Free Software
|
|
|
|
|
** Foundation and appearing in the file LICENSE.LGPL included in the
|
|
|
|
|
** packaging of this file. Please review the following information to
|
|
|
|
|
** ensure the GNU Lesser General Public License version 2.1 requirements
|
|
|
|
|
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
|
|
|
**
|
|
|
|
|
** In addition, as a special exception, Digia gives you certain additional
|
|
|
|
|
** rights. These rights are described in the Digia Qt LGPL Exception
|
2011-02-28 13:40:06 +01:00
|
|
|
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
****************************************************************************/
|
2011-02-28 13:40:06 +01:00
|
|
|
#ifndef BAZAARCONSTANTS_H
|
|
|
|
|
#define BAZAARCONSTANTS_H
|
|
|
|
|
|
|
|
|
|
namespace Bazaar {
|
|
|
|
|
namespace Constants {
|
|
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char BAZAAR[] = "bazaar";
|
|
|
|
|
const char BAZAARREPO[] = ".bzr";
|
|
|
|
|
const char BAZAARDEFAULT[] = "bzr";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Changeset identifiers
|
2012-01-26 14:18:59 +01:00
|
|
|
const char CHANGESET_ID[] = "^("
|
|
|
|
|
"revno: [.0-9]+" // detailed
|
|
|
|
|
"| +[.0-9]+" // short
|
|
|
|
|
"|[.0-9]+: " // line
|
|
|
|
|
")";
|
|
|
|
|
const char CHANGESET_ID_EXACT[] = "([.0-9]+)";
|
|
|
|
|
const char ANNOTATE_CHANGESET_ID[] = "([.0-9]+)";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Base editor parameters
|
|
|
|
|
const char FILELOG_ID[] = "Bazaar File Log Editor";
|
|
|
|
|
const char FILELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar File Log Editor");
|
|
|
|
|
const char FILELOG[] = "Bazaar File Log Editor";
|
2013-05-21 23:37:47 +03:00
|
|
|
const char LOGAPP[] = "text/vnd.qtcreator.bazaar.log";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char ANNOTATELOG_ID[] = "Bazaar Annotation Editor";
|
|
|
|
|
const char ANNOTATELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Annotation Editor");
|
|
|
|
|
const char ANNOTATELOG[] = "Bazaar Annotation Editor";
|
2013-05-21 23:37:47 +03:00
|
|
|
const char ANNOTATEAPP[] = "text/vnd.qtcreator.bazaar.annotation";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char DIFFLOG_ID[] = "Bazaar Diff Editor";
|
|
|
|
|
const char DIFFLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Diff Editor");
|
|
|
|
|
const char DIFFLOG[] = "Bazaar Diff Editor";
|
|
|
|
|
const char DIFFAPP[] = "text/x-patch";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Submit editor parameters
|
|
|
|
|
const char COMMIT_ID[] = "Bazaar Commit Log Editor";
|
|
|
|
|
const char COMMIT_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Commit Log Editor");
|
2013-05-21 23:37:47 +03:00
|
|
|
const char COMMITMIMETYPE[] = "text/vnd.qtcreator.bazaar.commit";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Menu items
|
|
|
|
|
// File menu actions
|
|
|
|
|
const char ADD[] = "Bazaar.AddSingleFile";
|
|
|
|
|
const char DELETE[] = "Bazaar.DeleteSingleFile";
|
|
|
|
|
const char ANNOTATE[] = "Bazaar.Annotate";
|
|
|
|
|
const char DIFF[] = "Bazaar.DiffSingleFile";
|
|
|
|
|
const char LOG[] = "Bazaar.LogSingleFile";
|
|
|
|
|
const char REVERT[] = "Bazaar.RevertSingleFile";
|
|
|
|
|
const char STATUS[] = "Bazaar.Status";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Directory menu Actions
|
|
|
|
|
const char DIFFMULTI[] = "Bazaar.Action.DiffMulti";
|
|
|
|
|
const char REVERTMULTI[] = "Bazaar.Action.RevertALL";
|
|
|
|
|
const char STATUSMULTI[] = "Bazaar.Action.StatusMulti";
|
|
|
|
|
const char LOGMULTI[] = "Bazaar.Action.Logmulti";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Repository menu actions
|
|
|
|
|
const char PULL[] = "Bazaar.Action.Pull";
|
|
|
|
|
const char PUSH[] = "Bazaar.Action.Push";
|
|
|
|
|
const char UPDATE[] = "Bazaar.Action.Update";
|
|
|
|
|
const char COMMIT[] = "Bazaar.Action.Commit";
|
|
|
|
|
const char CREATE_REPOSITORY[] = "Bazaar.Action.CreateRepository";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Submit editor actions
|
|
|
|
|
const char DIFFEDITOR[] = "Bazaar.Action.Editor.Diff";
|
2011-02-28 13:40:06 +01:00
|
|
|
|
|
|
|
|
} // namespace Constants
|
|
|
|
|
} // namespace Bazaar
|
|
|
|
|
|
|
|
|
|
#endif // BAZAARCONSTANTS_H
|