Title: Message
Greetings,
 
Thanks again for the quick response to my earlier queries. I have an additional point of contention:
 
Each of these 5 variables and methods in the class are causing me grief.
 
// channel.h
class Channel
{
    public:
        static const int MAX_LEN = 4096;
        static const char DEF_NAME[] = "UNKNOWN";
       
        Channel & operator=( const Channel & chan );
 
        virtual ~Channel();
 
        static void delay( struct timeval value);
    ...
};
 
Tried this:
 
//channel.sip
class Channel
{
%HeaderCode
#include "channel.h"
%End
 
public:
    static const MAX_LEN; // Correct?
    static const char DEF_NAME[]; // Error
    Channel & operator=( const Channel & ); //Error
    virtual ~Channel(); //Error
    static void delay( struct timeval ); //Error
};
 
Any help much appreciated!
 
Regards,
 
Don
 

Reply via email to