Permalink
Browse files

Adding YRSolcounterView (Objective-C class)

  • Loading branch information...
ELLIOTTCABLE committed Jun 6, 2010
1 parent 24b644b commit 85b528574af51e0d6ef74b86d0c2abd1adaa6462
Showing with 40 additions and 0 deletions.
  1. +6 −0 Solcounter.xcodeproj/project.pbxproj
  2. +2 −0 YRSolcounter.h
  3. +1 −0 YRSolcounter.m
  4. +17 −0 YRSolcounterView.h
  5. +14 −0 YRSolcounterView.m
@@ -9,6 +9,7 @@
/* Begin PBXBuildFile section */
5120FC5E11BBEB1A00FC34E3 /* SystemUIPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5120FC5D11BBEB1A00FC34E3 /* SystemUIPlugin.framework */; };
5120FC6211BBEB8E00FC34E3 /* YRSolcounter.m in Sources */ = {isa = PBXBuildFile; fileRef = 5120FC6111BBEB8E00FC34E3 /* YRSolcounter.m */; };
5128B9B211BBF06B00EA38A3 /* YRSolcounterView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5128B9B111BBF06B00EA38A3 /* YRSolcounterView.m */; };
8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; };
8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; };
/* End PBXBuildFile section */
@@ -22,6 +23,8 @@
5120FC5D11BBEB1A00FC34E3 /* SystemUIPlugin.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemUIPlugin.framework; path = /System/Library/PrivateFrameworks/SystemUIPlugin.framework; sourceTree = "<absolute>"; };
5120FC6011BBEB8E00FC34E3 /* YRSolcounter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YRSolcounter.h; sourceTree = "<group>"; };
5120FC6111BBEB8E00FC34E3 /* YRSolcounter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YRSolcounter.m; sourceTree = "<group>"; };
5128B9B011BBF06B00EA38A3 /* YRSolcounterView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YRSolcounterView.h; sourceTree = "<group>"; };
5128B9B111BBF06B00EA38A3 /* YRSolcounterView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YRSolcounterView.m; sourceTree = "<group>"; };
8D5B49B6048680CD000E48DA /* Solcounter.menu */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Solcounter.menu; sourceTree = BUILT_PRODUCTS_DIR; };
8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
@@ -75,6 +78,8 @@
children = (
5120FC6011BBEB8E00FC34E3 /* YRSolcounter.h */,
5120FC6111BBEB8E00FC34E3 /* YRSolcounter.m */,
5128B9B011BBF06B00EA38A3 /* YRSolcounterView.h */,
5128B9B111BBF06B00EA38A3 /* YRSolcounterView.m */,
);
name = Classes;
sourceTree = "<group>";
@@ -169,6 +174,7 @@
buildActionMask = 2147483647;
files = (
5120FC6211BBEB8E00FC34E3 /* YRSolcounter.m in Sources */,
5128B9B211BBF06B00EA38A3 /* YRSolcounterView.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
@@ -9,6 +9,8 @@
#import <Cocoa/Cocoa.h>
#import <SystemUIPlugin/NSMenuExtra.h>
@class YRSolcounterView;
@interface YRSolcounter : NSMenuExtra {
View
@@ -7,6 +7,7 @@
//
#import "YRSolcounter.h"
#import "YRSolcounterView.h"
@implementation YRSolcounter
View
@@ -0,0 +1,17 @@
//
// YRSolcounterView.h
// Solcounter
//
// Created by elliottcable on 14 766 ſ.
// Copyright 2010 yreality. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <SystemUIPlugin/NSMenuExtraView.h>
@interface YRSolcounterView : NSMenuExtraView {
}
@end
View
@@ -0,0 +1,14 @@
//
// YRSolcounterView.m
// Solcounter
//
// Created by elliottcable on 14 766 ſ.
// Copyright 2010 yreality. All rights reserved.
//
#import "YRSolcounterView.h"
@implementation YRSolcounterView
@end

0 comments on commit 85b5285

Please sign in to comment.