]> sigrok.org Git - pulseview.git/blobdiff - pv/sigsession.h
Refactoring in View and SigSession
[pulseview.git] / pv / sigsession.h
index 980fef947192e2ecb06202400b7d4dc6650ab08c..748b81ffae3f193ba17363c6c640dc22e2ed3d50 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the PulseView project.
  *
 /*
  * This file is part of the PulseView project.
  *
- * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
+ * Copyright (C) 2012-14 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
  * 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
  *
  * 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
@@ -92,14 +92,14 @@ public:
        std::vector< boost::shared_ptr<view::Signal> >
                get_signals() const;
 
        std::vector< boost::shared_ptr<view::Signal> >
                get_signals() const;
 
-       boost::shared_ptr<data::Logic> get_data();
-
+#ifdef ENABLE_DECODE
        bool add_decoder(srd_decoder *const dec);
 
        std::vector< boost::shared_ptr<view::DecodeTrace> >
                get_decode_signals() const;
 
        void remove_decode_signal(view::DecodeTrace *signal);
        bool add_decoder(srd_decoder *const dec);
 
        std::vector< boost::shared_ptr<view::DecodeTrace> >
                get_decode_signals() const;
 
        void remove_decode_signal(view::DecodeTrace *signal);
+#endif
 
 private:
        void set_capture_state(capture_state state);
 
 private:
        void set_capture_state(capture_state state);