Files

22 lines
468 B
C++

/*
File: Subject.h
Description: Declares the Subject interface for managing user attachments and detachments in the Observer design pattern within the Vehicle Service Management System.
Author: Trenser
Date: 19-May-2026
*/
#pragma once
#include <string>
#include "Map.h"
#include "Vector.h"
class User;
class Notification;
class Subject
{
public:
virtual ~Subject() = default;
virtual void attach(User* user) = 0;
virtual void detach(User* user) = 0;
};