]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/decodermenu.hpp
Session: Fix issue #67 by improving error handling
[pulseview.git] / pv / widgets / decodermenu.hpp
index e154cd261a5df0046f88bd3a054bc44e50a087b8..6ef4d2c6bdffcde8827a550069b5b34484b8c788 100644 (file)
@@ -14,8 +14,7 @@
  * 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 <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_WIDGETS_DECODERMENU_HPP
@@ -34,12 +33,11 @@ class DecoderMenu : public QMenu
        Q_OBJECT;
 
 public:
-       DecoderMenu(QWidget *parent, bool first_level_decoder = false);
+       DecoderMenu(QWidget *parent, const char* input, bool first_level_decoder = false);
 
 private:
        static int decoder_name_cmp(const void *a, const void *b);
 
-
 private Q_SLOTS:
        void on_action(QObject *action);
 
@@ -50,7 +48,7 @@ private:
        QSignalMapper mapper_;
 };
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv
 
 #endif // PULSEVIEW_PV_WIDGETS_DECODERMENU_HPP