mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
b
This commit is contained in:
parent
467c6f77cb
commit
877cf94d80
4 changed files with 10 additions and 14 deletions
|
|
@ -44,6 +44,7 @@ static UIFont *CELL_FONT = nil;
|
|||
if ((self = [super initWithStyle:UITableViewCellStyleDefault reuseIdentifier:identifier]) != nil) {
|
||||
[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self.class) owner:self options:nil];
|
||||
|
||||
#if 0
|
||||
// shift message box, otherwise it will collide with the bubble
|
||||
CGRect messageCoords = _messageText.frame;
|
||||
messageCoords.origin.x += 2;
|
||||
|
|
@ -52,19 +53,14 @@ static UIFont *CELL_FONT = nil;
|
|||
|
||||
_messageText.frame = messageCoords;
|
||||
_messageText.allowSelectAll = TRUE;
|
||||
#endif
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[self disconnectFromFileDelegate];
|
||||
if (message) {
|
||||
linphone_chat_message_set_user_data(message, NULL);
|
||||
linphone_chat_message_cbs_set_msg_state_changed(linphone_chat_message_get_callbacks(message), NULL);
|
||||
linphone_chat_message_unref(message);
|
||||
message = NULL;
|
||||
}
|
||||
[self setChatMessage:NULL];
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
|
|
|||
|
|
@ -44,6 +44,12 @@
|
|||
#import "DTActionSheet.h"
|
||||
#import "Utils.h"
|
||||
|
||||
#define DYNAMIC_CAST(x, cls) \
|
||||
({ \
|
||||
cls *inst_ = (cls *)(x); \
|
||||
[inst_ isKindOfClass:[cls class]] ? inst_ : nil; \
|
||||
})
|
||||
|
||||
#define VIEW(x) \
|
||||
DYNAMIC_CAST([PhoneMainView.instance.mainViewController getCachedController:x.compositeViewDescription.content], x)
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,6 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#define DYNAMIC_CAST(x, cls) \
|
||||
({ \
|
||||
cls *inst_ = (cls *)(x); \
|
||||
[inst_ isKindOfClass:[cls class]]? inst_ : nil; \
|
||||
})
|
||||
|
||||
#import "LinphoneManager.h"
|
||||
|
||||
@interface LinphoneLogger : NSObject {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 352b9c84067692131b2c58ad8d2d62a37b664e9e
|
||||
Subproject commit d1907a0d4879cf57e3a4d967ddafc82abe9d39db
|
||||
Loading…
Add table
Reference in a new issue