forked from Ivasoft/DSView
remove: extdef.h
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "analogsnapshot.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "dsosnapshot.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "logicsnapshot.h"
|
||||
#include "groupsnapshot.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <math.h>
|
||||
|
||||
#include "logicsnapshot.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -24,6 +24,17 @@
|
||||
#include "../config.h"
|
||||
#include <QString>
|
||||
|
||||
#define countof(x) (sizeof(x)/sizeof(x[0]))
|
||||
|
||||
#define begin_element(x) (&x[0])
|
||||
#define end_element(x) (&x[countof(x)])
|
||||
|
||||
enum View_type {
|
||||
TIME_VIEW,
|
||||
FFT_VIEW,
|
||||
ALL_VIEW
|
||||
};
|
||||
|
||||
|
||||
#ifdef DS_DEBUG_TRACE
|
||||
void ds_print(const char *s);
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
/*
|
||||
* This file is part of the DSView project.
|
||||
* DSView is based on PulseView.
|
||||
*
|
||||
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
|
||||
* Copyright (C) 2013 DreamSourceLab <support@dreamsourcelab.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
|
||||
#ifndef DSVIEW_EXTDEF_H
|
||||
#define DSVIEW_EXTDEF_H
|
||||
|
||||
#define countof(x) (sizeof(x)/sizeof(x[0]))
|
||||
|
||||
#define begin_element(x) (&x[0])
|
||||
#define end_element(x) (&x[countof(x)])
|
||||
|
||||
enum View_type {
|
||||
TIME_VIEW,
|
||||
FFT_VIEW,
|
||||
ALL_VIEW
|
||||
};
|
||||
|
||||
#endif // DSVIEW_EXTDEF_H
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "samplingbar.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <QAction>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "../data/analogsnapshot.h"
|
||||
#include "../view/view.h"
|
||||
#include "../device/devinst.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
namespace pv {
|
||||
namespace view {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <libsigrokdecode4DSL/libsigrokdecode.h>
|
||||
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
|
||||
#include <boost/functional/hash.hpp>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
#include "dsosignal.h"
|
||||
#include "../data/dso.h"
|
||||
#include "../data/dsosnapshot.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
#include "groupsignal.h"
|
||||
#include "../data/group.h"
|
||||
#include "../data/groupsnapshot.h"
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "decodetrace.h"
|
||||
#include "../sigsession.h"
|
||||
#include "../device/devinst.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <math.h>
|
||||
|
||||
#include "view.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
#include "lissajoustrace.h"
|
||||
#include "../data/dso.h"
|
||||
#include "../data/dsosnapshot.h"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "../data/logic.h"
|
||||
#include "../data/logicsnapshot.h"
|
||||
#include "view.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "../device/devinst.h"
|
||||
#include "../view/dsosignal.h"
|
||||
#include "../dsvdef.h"
|
||||
#include "../extdef.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QTimer>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "../sigsession.h"
|
||||
#include "../device/devinst.h"
|
||||
#include "dsosignal.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "signal.h"
|
||||
#include "view.h"
|
||||
#include "../device/devinst.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
namespace pv {
|
||||
namespace view {
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include "../device/devinst.h"
|
||||
#include "../data/spectrumstack.h"
|
||||
#include "../dsvdef.h"
|
||||
#include "../extdef.h"
|
||||
|
||||
using namespace boost;
|
||||
using namespace std;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "view.h"
|
||||
#include "../device/devinst.h"
|
||||
#include "../sigsession.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
|
||||
namespace pv {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "xcursor.h"
|
||||
#include "signal.h"
|
||||
#include "viewstatus.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
namespace pv {
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <QElapsedTimer>
|
||||
|
||||
#include "../view/view.h"
|
||||
#include "../extdef.h"
|
||||
#include "../dsvdef.h"
|
||||
|
||||
class QPainter;
|
||||
class QPaintEvent;
|
||||
|
||||
Reference in New Issue
Block a user