Cappuccino
1.0.0
Cappuccino
License
Deprecated List
Modules
Classes
Files
File List
AppKit.doc
Cib
CoreAnimation
CoreGraphics
CPDatePicker
CPMenu
CPMenuItem
CPRuleEditor
CPTextView
CPWindow
Platform
AppKit.j
CPAccordionView.h
CPAccordionView.j
CPAccordionViewItem.h
CPActionBinding.h
CPAlert.h
CPAlert.j
CPAnimation.h
CPAnimation.j
CPAppearance.h
CPAppearance.j
CPApplication.h
CPApplication.j
CPApplication_Constants.j
CPArrayController.h
CPArrayController.j
CPBezierPath.h
CPBezierPath.j
CPBinder.h
CPBox.h
CPBox.j
CPBrowser.h
CPBrowser.j
CPButton.h
CPButton.j
CPButtonBar.h
CPButtonBar.j
CPCheckBox.h
CPCheckBox.j
CPClipView.h
CPClipView.j
CPCollectionView.h
CPCollectionView.j
CPCollectionViewItem.h
CPCollectionViewItem.j
CPColor.h
CPColor.j
CPColorPanel.h
CPColorPanel.j
CPColorPicker.h
CPColorPicker.j
CPColorSpace.h
CPColorSpace.j
CPColorWell.h
CPColorWell.j
CPColorWellValueBinder.h
CPColorWheelColorPicker.h
CPComboBox.h
CPComboBox.j
CPCompatibility.j
CPControl.h
CPControl.j
CPController.h
CPController.j
CPControllerSelectionProxy.h
CPCookie.h
CPCookie.j
CPCursor.h
CPCursor.j
CPDictionaryController.h
CPDictionaryController.j
CPDisclosureButton.h
CPDocument.h
CPDocument.j
CPDocumentController.h
CPDocumentController.j
CPDoubleClickActionBinding.h
CPDraggingInfo.h
CPDragServer.h
CPDragServer.j
CPDragServer_Constants.j
CPEvent.h
CPEvent.j
CPEvent_Constants.j
CPFlashMovie.h
CPFlashMovie.j
CPFlashView.h
CPFlashView.j
CPFont.h
CPFont.j
CPFontManager.h
CPFontManager.j
CPGradient.h
CPGradient.j
CPGraphics.j
CPGraphicsContext.h
CPGraphicsContext.j
CPImage.h
CPImage.j
CPImageView.h
CPImageView.j
CPImageViewValueBinder.h
CPKeyBinding.h
CPKeyBinding.j
CPKeyValueBinding.j
CPLevelIndicator.h
CPLevelIndicator.j
CPMultipleValueAndBinding.h
CPMultipleValueOrBinding.h
CPNinePartImage.h
CPObject.h
CPObjectController.h
CPObjectController.j
CPOpenPanel.h
CPOpenPanel.j
CPOutlineView.h
CPOutlineView.j
CPPanel.h
CPPanel.j
CPPasteboard.h
CPPasteboard.j
CPPopover.h
CPPopover.j
CPPopUpButton.h
CPPopUpButton.j
CPProgressIndicator.h
CPProgressIndicator.j
CPRadio.h
CPRadio.j
CPRadioGroup.h
CPResponder.h
CPResponder.j
CPSavePanel.h
CPSavePanel.j
CPScreen.h
CPScreen.j
CPScroller.h
CPScroller.j
CPScrollView.h
CPScrollView.j
CPSearchField.h
CPSearchField.j
CPSecureTextField.h
CPSecureTextField.j
CPSegmentedControl.h
CPSegmentedControl.j
CPShadow.h
CPShadow.j
CPShadowView.h
CPShadowView.j
CPSlider.h
CPSlider.j
CPSliderColorPicker.h
CPSliderColorPicker.j
CPSound.h
CPSound.j
CPSplitView.h
CPSplitView.j
CPStepper.h
CPStepper.j
CPString.h
CPStringDrawing.j
CPTableCellView.h
CPTableColumn.h
CPTableColumn.j
CPTableColumnValueBinder.h
CPTableContentBinder.h
CPTableHeaderView.h
CPTableHeaderView.j
CPTableView.h
CPTableView.j
CPTabView.h
CPTabView.j
CPTabViewItem.h
CPTabViewItem.j
CPText.h
CPText.j
CPTextField.h
CPTextField.j
CPTheme.h
CPTheme.j
CPThemeBlend.h
CPThemeBlend.j
CPThreePartImage.h
CPTitleWithPatternBinding.h
CPTokenField.h
CPTokenField.j
CPToolbar.h
CPToolbar.j
CPToolbarItem.j
CPTrackingArea.h
CPTrackingArea.j
CPTreeNode.h
CPTreeNode.j
CPURL.h
CPUserDefaultsController.h
CPUserDefaultsController.j
CPValueWithPatternBinding.h
CPView.h
CPView.j
CPViewAnimation.h
CPViewAnimation.j
CPViewController.h
CPViewController.j
CPVisualEffectView.h
CPVisualEffectView.j
CPWebScriptObject.h
CPWebView.h
CPWebView.j
CPWindowController.h
CPWindowController.j
CPWorkspace.h
CPWorkspace.j
Foundation.doc
File Members
•
All
Classes
Files
Functions
Variables
Typedefs
Macros
Groups
Pages
CPFlashMovie.j
Go to the documentation of this file.
1
/*
2
* CPFlashMovie.j
3
* AppKit
4
*
5
* Created by Francisco Tolmasky.
6
* Copyright 2008, 280 North, Inc.
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
24
30
@implementation
CPFlashMovie
:
CPObject
31
{
32
CPString
_filename;
33
}
34
40
+ (id)flashMovieWithFile:(
CPString
)aFilename
41
{
42
return
[[
self
alloc
]
initWithFile
:aFilename];
43
}
44
50
- (id)initWithFile:(
CPString
)aFilename
51
{
52
self
= [
super
init
];
53
54
if
(
self
)
55
_filename = aFilename;
56
57
return
self
;
58
}
59
60
- (
CPString
)filename
61
{
62
return
_filename;
63
}
64
65
@end
66
67
var
CPFlashMovieFilenameKey
=
"CPFlashMovieFilenameKey"
;
68
69
@implementation
CPFlashMovie (CPCoding)
70
71
- (id)initWithCoder:(
CPCoder
)aCoder
72
{
73
_filename = [aCoder decodeObjectForKey:CPFlashMovieFilenameKey];
74
75
return
self
;
76
}
77
78
- (void)encodeWithCoder:(
CPCoder
)aCoder
79
{
80
[aCoder encodeObject:_filename forKey:CPFlashMovieFilenameKey];
81
}
82
83
@end
AppKit
CPFlashMovie.j
Generated on Fri Sep 7 2018 11:26:14 for Cappuccino by
1.8.3