first commit

This commit is contained in:
2026-03-05 13:16:26 +01:00
commit 1b2bf174e8
164 changed files with 35594 additions and 0 deletions

113
Lab7/event.h Normal file
View File

@@ -0,0 +1,113 @@
//## begin module.cm preserve=no
// %X% %Q% %Z% %W%
//## end module.cm
//## begin module.cp preserve=no
//## end module.cp
//## Module: Event; Pseudo Package specification
//## Subsystem: lab7
//## Source file: H:\kurs\avC++\lab7\Event.h
#ifndef Event_h
#define Event_h 1
//## begin module.additionalIncludes preserve=no
//## end module.additionalIncludes
//## begin module.includes preserve=yes
//## end module.includes
//## begin module.additionalDeclarations preserve=yes
typedef enum {NO_E, MOUSE_E, KEY_E} EVENT_T;
//## end module.additionalDeclarations
//## Class: Event
//## Category: lab7
//## Subsystem: lab7
//## Persistence: Transient
//## Cardinality/Multiplicity: n
class Event
{
//## begin Event.initialDeclarations preserve=yes
//## end Event.initialDeclarations
public:
//## Constructors (generated)
Event();
//## Destructor (generated)
~Event();
//## Other Operations (specified)
//## Operation: getEventType%941013981
EVENT_T getEventType ();
//## Operation: setEventType%941013982
void setEventType (EVENT_T e);
//## Operation: getxpos%941013983
int getxpos ();
//## Operation: getypos%941013984
int getypos ();