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

// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel

#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