X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fbinding%2Fdecoder.hpp;h=044c0f652dcd7eab29dc9bb7a655da49171cbd03;hb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;hp=48e5945bc32f6451c31c8d429b3c9f9846817178;hpb=3cc9ad7b867853315473df611612c562d562ed8a;p=pulseview.git
diff --git a/pv/binding/decoder.hpp b/pv/binding/decoder.hpp
index 48e5945..044c0f6 100644
--- a/pv/binding/decoder.hpp
+++ b/pv/binding/decoder.hpp
@@ -14,17 +14,18 @@
* 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
+ * along with this program; if not, see .
*/
-#ifndef PULSEVIEW_PV_BINDING_DECODER_H
-#define PULSEVIEW_PV_BINDING_DECODER_H
+#ifndef PULSEVIEW_PV_BINDING_DECODER_HPP
+#define PULSEVIEW_PV_BINDING_DECODER_HPP
#include "binding.hpp"
#include
+using std::shared_ptr;
+
struct srd_decoder_option;
namespace pv {
@@ -41,11 +42,11 @@ namespace binding {
class Decoder : public Binding
{
public:
- Decoder(std::shared_ptr decoder_stack,
- std::shared_ptr decoder);
+ Decoder(shared_ptr decoder_stack,
+ shared_ptr decoder);
private:
- static std::shared_ptr bind_enum(const QString &name,
+ static shared_ptr bind_enum(const QString &name,
const srd_decoder_option *option,
prop::Property::Getter getter, prop::Property::Setter setter);
@@ -54,11 +55,11 @@ private:
void setter(const char *id, Glib::VariantBase value);
private:
- std::shared_ptr decoder_stack_;
- std::shared_ptr decoder_;
+ shared_ptr decoder_stack_;
+ shared_ptr decoder_;
};
-} // binding
-} // pv
+} // namespace binding
+} // namespace pv
-#endif // PULSEVIEW_PV_BINDING_DECODER_H
+#endif // PULSEVIEW_PV_BINDING_DECODER_HPP