Listing 7 cursor.h: cursor control module

class Cursor
{
   static int state;
   static void set(unsigned, unsigned);

public:
   enum cursor_type {LINE, BLOCK};
   
   static int init();
   static void block();
   static void line();
   static void flip();
   static void off();
   static void setpos(int, int);
   static void getpos(int&, int&);
};

// End of File