Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----SettingsIfView.h-----------------------------------------------------
- #ifndef SETTINGS_IFVIEW_H
- #define SETTINGS_IFVIEW_H
- #include "NetworkSettings.h"
- #include <Screen.h>
- #include <View.h>
- class SettingsIfView : public BView {
- public:
- SettingsIfView(BRect frame, int family);
- virtual ~SettingsIfView();
- }
- #endif /* SETTINGS_IFVIEW_H */
- ----SettingsIfView.cpp----------------------------------------
- #include "SettingsIfView.h"
- #include "NetworkSettings.h"
- SettingsIfView::SettingsIfView(BRect frame, int family)
- : BView(frame, "test", B_FOLLOW_ALL_SIDES, 0)
- {
- }
- ----error-------------------------
- ++ ../../../../../../generated/objects/haiku/x86/release/tests/kits/net/preflet/InterfacesAddOn/SettingsIfView.o
- SettingsIfView.h:18: error: new types may not be defined in a return type
- SettingsIfView.h:18: note: (perhaps a semicolon is missing after the definition of 'SettingsIfView')
- SettingsIfView.cpp:13: error: return type specification for constructor invalid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement