Home » Community » Newbie corner » What Type to give a Layout as parameter?
What Type to give a Layout as parameter? [message #34369] |
Fri, 18 November 2011 20:08 |
Wolfgang
Messages: 146 Registered: November 2011 Location: Germany
|
Experienced Member |
|
|
Me again... I've tried to find a way to to give a layout as a parameter to a method. But I cant find how to do it..
I have this .h
...
class Urlaub : public WithurlaubLayout<TopWindow> {
public:
typedef Urlaub CLASSNAME;
Urlaub();
WithloginLayout<ParentCtrl> loginLayout;
WithlogoutLayout<ParentCtrl> logoutLayout;
private:
bool rmTab( ???? );
and in the main.cpp I have
...
Urlaub::rmTab( ???? tabLayout)
{
int pos;
pos = tab.Find(tabLayout);
...
}
But I dont know what type I have to use for the ???? parts...
Upp::Ctrl dont works cause of error C2248: 'Upp::Ctrl::Ctrl' : cannot access private member declared in class 'Upp::Ctrl'
Any solutions?
Background:
I want to create a method to check if a Tab with Layout X exists and if it does, remove it.
|
|
|
|
Goto Forum:
Current Time: Sat Apr 20 11:49:50 CEST 2024
Total time taken to generate the page: 0.04042 seconds
|