f18c764ffa
Monotone-Revision: 9054022ef1ca8aeba6e34842d27d9b94ce002b89 Monotone-Author: dev-unix.inverse.qc.ca Monotone-Date: 2006-06-15T19:34:10 Monotone-Branch: ca.inverse.sogo
45 lines
739 B
Objective-C
45 lines
739 B
Objective-C
// $Id: UIxPageFrame.m 59 2004-06-22 13:40:19Z znek $
|
|
|
|
#include <NGObjWeb/SoComponent.h>
|
|
#include <NGObjWeb/SoHTTPAuthenticator.h>
|
|
#include <NGObjWeb/SoUser.h>
|
|
|
|
|
|
@interface UIxPageFrame : SoComponent
|
|
{
|
|
NSString *title;
|
|
}
|
|
|
|
@end
|
|
|
|
#include "common.h"
|
|
|
|
@implementation UIxPageFrame
|
|
|
|
- (void)dealloc {
|
|
[self->title release];
|
|
[super dealloc];
|
|
}
|
|
|
|
/* accessors */
|
|
|
|
- (void)setTitle:(NSString *)_value {
|
|
ASSIGN(self->title, _value);
|
|
}
|
|
|
|
- (NSString *)title {
|
|
return self->title;
|
|
}
|
|
|
|
- (NSString *)login {
|
|
WOContext *ctx;
|
|
SoUser *user;
|
|
|
|
ctx = [self context];
|
|
user = [[[self clientObject] authenticatorInContext:ctx]
|
|
userInContext:ctx];
|
|
return [user login];
|
|
}
|
|
|
|
@end /* UIxPageFrame */
|