Files
cappuccino/Tests/Manual/CPTextViewDelegateAndNotificationsTest/NotificationStatistics.j
T
David Richardson 4784a1a102 Normalize application naming in ./Tests/Manual
Ensure:
* CamelCase, ending in Test
* No hyphens, spaces, underscores or other non-alpha characters

Updated application directory names.
Update Jakefiles.
2026-09-08 17:47:30 -06:00

34 lines
677 B
Plaintext

/*
* NotificationStatistics.j
* CPTextViewDelegateAndNotifications
*
* Created by Martin Carlberg on December 22, 2017.
* Copyright 2017, Oops AB All rights reserved.
*/
@import <Foundation/CPObject.j>
@implementation NotificationStatistics : CPObject {
CPString name @accessors;
CPUInteger order @accessors;
CPUInteger count @accessors;
}
+ (id)notificationStatisticsWithName:(CPString)aName
{
return [[NotificationStatistics alloc] initWithName:aName];
}
- (id)initWithName:(CPString)aName
{
self = [super init];
if (self) {
[self setName: aName];
[self setOrder:0];
[self setCount:0];
}
return self;
}
@end