mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2024-11-23 19:22:02 -08:00
62 lines
1.5 KiB
C#
62 lines
1.5 KiB
C#
/*
|
|
* VsqBarLineType.cs
|
|
* Copyright (c) 2008-2009 kbinani
|
|
*
|
|
* This file is part of Boare.Lib.Vsq
|
|
*
|
|
* Boare.Lib.Vsq is free software; you can redistribute it and/or
|
|
* modify it under the terms of the BSD License.
|
|
*
|
|
* Boare.Lib.Vsq is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
*/
|
|
#if JAVA
|
|
package org.kbinani.vsq;
|
|
#else
|
|
using System;
|
|
|
|
namespace Boare.Lib.Vsq {
|
|
using boolean = System.Boolean;
|
|
#endif
|
|
|
|
public struct VsqBarLineType {
|
|
private int m_clock;
|
|
private boolean m_is_separator;
|
|
private int m_denominator;
|
|
private int m_numerator;
|
|
private int m_bar_count;
|
|
|
|
public int getBarCount() {
|
|
return m_bar_count;
|
|
}
|
|
|
|
public int getLocalDenominator() {
|
|
return m_denominator;
|
|
}
|
|
|
|
public int getLocalNumerator() {
|
|
return m_numerator;
|
|
}
|
|
|
|
public int clock() {
|
|
return m_clock;
|
|
}
|
|
|
|
public boolean isSeparator() {
|
|
return m_is_separator;
|
|
}
|
|
|
|
public VsqBarLineType( int clock, boolean is_separator, int denominator, int numerator, int bar_count ) {
|
|
m_clock = clock;
|
|
m_is_separator = is_separator;
|
|
m_denominator = denominator;
|
|
m_numerator = numerator;
|
|
m_bar_count = bar_count;
|
|
}
|
|
}
|
|
|
|
#if !JAVA
|
|
}
|
|
#endif
|