Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
160 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** | ||
* Copyright Victor Berchet | ||
* | ||
* This file is part of VisuGps3 | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
*/ | ||
|
||
/** | ||
* @fileoverview Update event. | ||
* @author Victor Berchet <victor@suumit.com> | ||
*/ | ||
|
||
goog.provide('vgps3.track.UpdateEvent'); | ||
|
||
goog.require('goog.events.Event'); | ||
|
||
|
||
|
||
/** | ||
* @param {number} trackIndex | ||
* @param {vgps3.track.GpsFixes} fixes | ||
* | ||
* @constructor | ||
* @extends {goog.events.Event} | ||
*/ | ||
vgps3.track.UpdateEvent = function(trackIndex, fixes) { | ||
goog.base(this, vgps3.track.EventType.UPDATE); | ||
|
||
/** | ||
* @type {vgps3.track.GpsFixes} The fixes | ||
*/ | ||
this.fixes = fixes; | ||
|
||
/** | ||
* @type {number} The track index | ||
*/ | ||
this.trackIndex = trackIndex; | ||
|
||
}; | ||
goog.inherits(vgps3.track.UpdateEvent, goog.events.Event); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.