Initial commit - gsm-receiver with removed quick hacks
diff --git a/include/gsm/CMakeLists.txt b/include/gsm/CMakeLists.txt
new file mode 100644
index 0000000..aad938f
--- /dev/null
+++ b/include/gsm/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Copyright 2011,2012 Free Software Foundation, Inc.
+#
+# This file is part of GNU Radio
+#
+# GNU Radio 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 3, or (at your option)
+# any later version.
+#
+# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+
+########################################################################
+# Install public header files
+########################################################################
+install(FILES
+ api.h
+ receiver.h DESTINATION include/gsm
+)
diff --git a/include/gsm/api.h b/include/gsm/api.h
new file mode 100644
index 0000000..03c4842
--- /dev/null
+++ b/include/gsm/api.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2011 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio 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 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio 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 GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef INCLUDED_GSM_API_H
+#define INCLUDED_GSM_API_H
+
+#include <gnuradio/attributes.h>
+
+#ifdef gnuradio_gsm_EXPORTS
+# define GSM_API __GR_ATTR_EXPORT
+#else
+# define GSM_API __GR_ATTR_IMPORT
+#endif
+
+#endif /* INCLUDED_GSM_API_H */
diff --git a/include/gsm/receiver.h b/include/gsm/receiver.h
new file mode 100644
index 0000000..16b8e54
--- /dev/null
+++ b/include/gsm/receiver.h
@@ -0,0 +1,57 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2014 <+YOU OR YOUR COMPANY+>.
+ *
+ * This 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 3, or (at your option)
+ * any later version.
+ *
+ * This software 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 software; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+
+#ifndef INCLUDED_GSM_RECEIVER_H
+#define INCLUDED_GSM_RECEIVER_H
+
+#include <gsm/api.h>
+#include <gnuradio/block.h>
+#include <gnuradio/feval.h>
+
+namespace gr {
+ namespace gsm {
+
+ /*!
+ * \brief <+description of block+>
+ * \ingroup gsm
+ *
+ */
+ class GSM_API receiver : virtual public block
+ {
+ public:
+ typedef boost::shared_ptr<receiver> sptr;
+
+ /*!
+ * \brief Return a shared_ptr to a new instance of gsm::receiver.
+ *
+ * To avoid accidental use of raw pointers, gsm::receiver's
+ * constructor is in a private implementation
+ * class. gsm::receiver::make is the public interface for
+ * creating new instances.
+ */
+ static sptr make(feval_dd * tuner, int osr);
+ };
+
+ } // namespace gsm
+} // namespace gr
+
+#endif /* INCLUDED_GSM_RECEIVER_H */
+