summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/CoreFoundation.fwrk/headers/Object.h
blob: c13ed383df0d4c930a2f4de157459fdf179e41b3 (plain)
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

/* ========================================

  Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.

======================================== */

#ifndef HEADERS_OBJECT_H
#define HEADERS_OBJECT_H

#include <CoreFoundation.fwrk/headers/Foundation.h>

#define CF_OBJECT : public CF::CFObject

namespace CF {
class CFObject;

class CFObject {
 public:
  explicit CFObject() = default;
  virtual ~CFObject() = default;

  LIBSYS_COPY_DEFAULT(CFObject);

  virtual const Char* Name() { return "[\"CFObject\"];"; }
};
}  // namespace CF

#endif