-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.h
More file actions
33 lines (29 loc) · 734 Bytes
/
admin.h
File metadata and controls
33 lines (29 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Created by ghazal on 1/23/25.
//
#ifndef NEXTFLICK_ADMIN_H
#define NEXTFLICK_ADMIN_H
#include <iostream>
#include "Film.h"
#include "Series.h"
#include "Globals.h"
#include "GlobalSparset.h"
using namespace std;
class admin {
protected:
int id;
int idMedia=6;
string username;
string password;
public:
admin(int Id, string Username, string Password): id(Id),username(Username),password(Password){}
admin(){}
double roundrating(double rating)const;
void addContent();
void addMovie();
void addSeries();
void deletemedia(vector<Media*> media);
void countingSort(vector<Media*>& media, int exp);
vector<Media*> radixSort(vector<Media*>& media);
};
#endif //NEXTFLICK_ADMIN_H