Use modern construct 'using' instead of typedef.
[platform/core/uifw/dali-core.git] / dali / internal / event / actors / actor-declarations.h
index 2d2df75..72dfdac 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_ACTOR_DECLARATIONS_H__
-#define __DALI_INTERNAL_ACTOR_DECLARATIONS_H__
+#ifndef DALI_INTERNAL_ACTOR_DECLARATIONS_H
+#define DALI_INTERNAL_ACTOR_DECLARATIONS_H
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,21 +30,15 @@ namespace Internal
 class Actor;
 class CameraActor;
 class CustomActor;
-class ImageActor;
 class Layer;
-class LightActor;
-class MeshActor;
 
-typedef IntrusivePtr<Actor>       ActorPtr;
-typedef IntrusivePtr<CameraActor> CameraActorPtr;
-typedef IntrusivePtr<CustomActor> CustomActorPtr;
-typedef IntrusivePtr<ImageActor>  ImageActorPtr;
-typedef IntrusivePtr<Layer>       LayerPtr;
-typedef IntrusivePtr<LightActor>  LightActorPtr;
-typedef IntrusivePtr<MeshActor>   MeshActorPtr;
+using ActorPtr       = IntrusivePtr<Actor>;
+using CameraActorPtr = IntrusivePtr<CameraActor>;
+using CustomActorPtr = IntrusivePtr<CustomActor>;
+using LayerPtr       = IntrusivePtr<Layer>;
 
 } // namespace Internal
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_ACTOR_DECLARATIONS_H__
+#endif // DALI_INTERNAL_ACTOR_DECLARATIONS_H