window menu: add item to reopen app

In order to support macOS Human Interface Guidelines, list Ring Main
Window or Wizard Window in Window menu, so user could re-open it after
windows was closed.

Change-Id: I4fc200b1230987817466e7c79cf80dfb9e0ea35b
Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
diff --git a/src/RingMainWindow.mm b/src/RingMainWindow.mm
new file mode 100644
index 0000000..bf964a0
--- /dev/null
+++ b/src/RingMainWindow.mm
@@ -0,0 +1,29 @@
+/*
+ *  Copyright (C) 2015-2018 Savoir-faire Linux Inc.
+ *  Author: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
+ */
+
+#import "RingMainWindow.h"
+
+@implementation RingMainWindow
+
+- (void)close {
+    [super close];
+    [[NSApplication sharedApplication] addWindowsItem:self title:@"Ring" filename:NO];
+}
+
+@end