3 using Tizen.Applications.ComponentBased.Common;
8 /// Window information class for ComponentApplication
10 internal class NUIWindowInfo : IWindowInfo
12 private const string LogTag = "Tizen.NUI";
15 private bool _disposed = false;
18 /// Initializes the NUI Window class.
20 /// <param name="win">The window object of component.</param>
21 internal NUIWindowInfo(Window win)
27 /// Gets the resource ID of window
29 /// <returns>The native handle of window</returns>
36 _resId = _win.GetNativeId();
38 Log.Info(LogTag, "Fail to get resource ID");
46 /// Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
48 /// <param name="disposing">If true, disposes any disposable objects. If false, does not dispose disposable objects.</param>
49 protected virtual void Dispose(bool disposing)
63 /// Dispose the window resources
65 /// <returns></returns>
69 GC.SuppressFinalize(this);