Here's the header for the OutputWizzy:
#ifndef OUTPUT_WIZZY_H
#define OUTPUT_WIZZY_H
#include "Wizzy.h"
#include <QtGui>
class WizzyConnectionPoint;
class OutputWizzy : public Wizzy
{
Q_OBJECT
public:
/* snip */
};
#endif
#ifndef OUTPUT_WIZZY_H
#define OUTPUT_WIZZY_H
#include "Wizzy.h"
#include <QtGui>
class WizzyConnectionPoint;
class OutputWizzy : public Wizzy
{
Q_OBJECT
public:
OutputWizzy( QObject* = NULL );
/* snip */
};
#endif
To copy to clipboard, switch view to plain text mode
And here's the code for the implementation:
#include "OutputWizzy.h"
#include "WizzyConnectionPoint.h"
#include <QtGui>
#include "BranchWizzy.h"
OutputWizzy
::OutputWizzy( QObject *p_parent
) : Wizzy
( p_parent
){
BranchWizzy *b = new BranchWizzy();
/* snip */
}
#include "OutputWizzy.h"
#include "WizzyConnectionPoint.h"
#include <QtGui>
#include "BranchWizzy.h"
OutputWizzy::OutputWizzy( QObject *p_parent ) : Wizzy( p_parent )
{
BranchWizzy *b = new BranchWizzy();
/* snip */
}
To copy to clipboard, switch view to plain text mode
Here's the BranchWizzy header:
#ifndef BRANCH_WIZZY_H
#define BRANCH_WIZZY_H
#include "Wizzy.h"
#include <QtGui>
class BranchWizzy : public Wizzy
{
Q_OBJECT
public:
public slots:
signals:
protected:
private:
};
#endif
#ifndef BRANCH_WIZZY_H
#define BRANCH_WIZZY_H
#include "Wizzy.h"
#include <QtGui>
class BranchWizzy : public Wizzy
{
Q_OBJECT
public:
BranchWizzy( QObject* = NULL );
public slots:
signals:
protected:
private:
};
#endif
To copy to clipboard, switch view to plain text mode
And BranchWizzy implementation:
#include "BranchWizzy.h"
#include "WizzyConnectionPoint.h"
#include <QtGui>
BranchWizzy
::BranchWizzy( QObject *p_parent
) : Wizzy
( p_parent
){
/* snip */
}
#include "BranchWizzy.h"
#include "WizzyConnectionPoint.h"
#include <QtGui>
BranchWizzy::BranchWizzy( QObject *p_parent ) : Wizzy( p_parent )
{
/* snip */
}
To copy to clipboard, switch view to plain text mode
Anyone see anything I'm overlooking? Thanks again!
Bookmarks