Skip to content

Commit

Permalink
Rename namespace, start working on Qt Parser
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Dec 19, 2016
1 parent 6e9c2f8 commit 6cae0c4
Show file tree
Hide file tree
Showing 179 changed files with 278 additions and 350 deletions.
11 changes: 10 additions & 1 deletion sigviewer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ TEMPLATE = app
DESTDIR = bin
TARGET = sigviewer

VERSION_MAJOR = 0
VERSION_MINOR = 6
VERSION_BUILD = 0

DEFINES += \
"VERSION_MAJOR=$$VERSION_MAJOR" \
"VERSION_MINOR=$$VERSION_MINOR" \
"VERSION_BUILD=$$VERSION_BUILD"

QT += core gui widgets xml

BUILD_DIR = $$PWD/tmp
Expand Down Expand Up @@ -64,7 +73,7 @@ HEADERS += \
$$PWD/src/tab_context.h

SOURCES += \
$$PWD/src/main/sigviewer.cpp \
$$PWD/src/main.cpp \
$$PWD/src/application_context_impl.cpp \
$$PWD/src/file_context.cpp \
$$PWD/src/tab_context.cpp
2 changes: 1 addition & 1 deletion src/application_context_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <QDebug>

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/application_context_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <QObject>
#include <QSharedPointer>

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/base/application_states.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef APPLICATION_STATES_H
#define APPLICATION_STATES_H

namespace SigViewer_
namespace sigviewer
{

enum ApplicationState
Expand Down
2 changes: 1 addition & 1 deletion src/base/data_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <algorithm>
#include <cmath>

namespace SigViewer_ {
namespace sigviewer {

size_t DataBlock::instance_count_ = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/base/data_block.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <QSharedPointer>
#include <QMap>

namespace SigViewer_ {
namespace sigviewer {

//-------------------------------------------------------------------------
/// DataBlock
Expand Down
2 changes: 1 addition & 1 deletion src/base/exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "exception.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/base/exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <exception>
#include <string>

namespace SigViewer_
namespace sigviewer
{

class Exception : public std::exception
Expand Down
2 changes: 1 addition & 1 deletion src/base/fixed_data_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <algorithm>
#include <cmath>

namespace SigViewer_
namespace sigviewer
{

//-------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/base/fixed_data_block.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <QVector>
#include <QSharedPointer>

namespace SigViewer_ {
namespace sigviewer {

//-------------------------------------------------------------------------
/// FixedDataBlock
Expand Down
2 changes: 1 addition & 1 deletion src/base/math_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <QDebug>
#include <cmath>

namespace SigViewer_
namespace sigviewer
{

namespace MathUtils_
Expand Down
2 changes: 1 addition & 1 deletion src/base/math_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "sigviewer_user_types.h"

namespace SigViewer_
namespace sigviewer
{

namespace MathUtils_
Expand Down
2 changes: 1 addition & 1 deletion src/base/signal_channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "signal_channel.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/base/signal_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <QString>
#include <QMutex>

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/base/signal_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "signal_event.h"

namespace SigViewer_
namespace sigviewer
{

// constructor
Expand Down
2 changes: 1 addition & 1 deletion src/base/signal_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "sigviewer_user_types.h"

namespace SigViewer_
namespace sigviewer
{

// SignalEvent
Expand Down
4 changes: 2 additions & 2 deletions src/base/sigviewer_user_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <stddef.h>

namespace SigViewer_
namespace sigviewer
{

enum ScaleMode
Expand Down Expand Up @@ -50,7 +50,7 @@ typedef unsigned __int64 uint64_t;
#include <inttypes.h>
#endif

namespace SigViewer_
namespace sigviewer
{

typedef int8_t int8;
Expand Down
2 changes: 1 addition & 1 deletion src/base/tab_states.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef TAB_STATES_H
#define TAB_STATES_H

namespace SigViewer_
namespace sigviewer
{

enum TabSelectionState
Expand Down
2 changes: 1 addition & 1 deletion src/command_executer.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <QUndoCommand>

namespace SigViewer_
namespace sigviewer
{

class CommandExecuter
Expand Down
2 changes: 1 addition & 1 deletion src/commands/convert_file_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "file_handling/file_signal_writer_factory.h"
#include "gui/progress_bar.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/commands/convert_file_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <QString>

namespace SigViewer_
namespace sigviewer
{

class ConvertFileCommand
Expand Down
2 changes: 1 addition & 1 deletion src/commands/open_file_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <QDir>
#include <QSettings>

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/commands/open_file_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <QString>

namespace SigViewer_
namespace sigviewer
{

class OpenFileCommand
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/change_channel_undo_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "change_channel_undo_command.h"
#include "file_handling/event_manager.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/change_channel_undo_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <QUndoCommand>
#include <QSharedPointer>

namespace SigViewer_
namespace sigviewer
{

class ChangeChannelUndoCommand : public QUndoCommand
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/change_type_undo_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "change_type_undo_command.h"
#include "file_handling/event_manager.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/change_type_undo_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <QSharedPointer>
#include <QObject>

namespace SigViewer_
namespace sigviewer
{

class ChangeTypeUndoCommand : public QUndoCommand
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/delete_event_undo_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "delete_event_undo_command.h"
#include "file_handling/event_manager.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/delete_event_undo_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <QUndoCommand>
#include <QSharedPointer>

namespace SigViewer_
namespace sigviewer
{

class DeleteEventUndoCommand : public QUndoCommand
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/macro_undo_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "macro_undo_command.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/macro_undo_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <QUndoCommand>
#include <QSharedPointer>

namespace SigViewer_
namespace sigviewer
{

class MacroUndoCommand : public QUndoCommand
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/new_event_undo_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "new_event_undo_command.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/new_event_undo_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <QUndoCommand>
#include <QSharedPointer>

namespace SigViewer_
namespace sigviewer
{

class NewEventUndoCommand : public QUndoCommand
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/resize_event_undo_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "resize_event_undo_command.h"
#include "file_handling/event_manager.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/editing_commands/resize_event_undo_command.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <QSharedPointer>
#include <QUndoCommand>

namespace SigViewer_
namespace sigviewer
{

class ResizeEventUndoCommand : public QUndoCommand
Expand Down
2 changes: 1 addition & 1 deletion src/file_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <QDir>
#include <QDebug>

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/file_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <QString>
#include <QSharedPointer>

namespace SigViewer_
namespace sigviewer
{


Expand Down
2 changes: 1 addition & 1 deletion src/file_handling/basic_header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "basic_header.h"

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/file_handling/basic_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <QMap>
#include <QSharedPointer>

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/file_handling/channel_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <limits>

namespace SigViewer_
namespace sigviewer
{

//-------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/file_handling/channel_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <set>
#include <map>

namespace SigViewer_
namespace sigviewer
{

//-----------------------------------------------------------------------------
Expand Down
Loading

0 comments on commit 6cae0c4

Please sign in to comment.