404d217504
- Remove FileManager and related file-based persistence logic - Remove obsolete observer persistence utilities - Remove unused service APIs and includes - Delete duplicate DataStore mutex stubs - Perform general dead-code cleanup
23 lines
791 B
C++
23 lines
791 B
C++
/*
|
|
File: NotificationManagementService.h
|
|
Description: Declares the NotificationManagementService abstract class which defines the contract for managing notifications in the Vehicle Service Management System.
|
|
Implements the Subject interface and provides pure virtual methods for sending notifications and managing user subscriptions (attach/detach).
|
|
Author: Trenser
|
|
Date: 19-May-2026
|
|
*/
|
|
|
|
#pragma once
|
|
#include <string>
|
|
#include "Subject.h"
|
|
#include "Notification.h"
|
|
#include "User.h"
|
|
|
|
class NotificationManagementService : public Subject
|
|
{
|
|
public:
|
|
virtual ~NotificationManagementService() = default;
|
|
virtual void sendNotification(User* recipient, const std::string& title, const std::string& message) = 0;
|
|
virtual void attach(User* user) = 0;
|
|
virtual void detach(User* user) = 0;
|
|
};
|